diff options
author | unknown <venu@myvenu.com> | 2003-01-09 17:56:34 -0800 |
---|---|---|
committer | unknown <venu@myvenu.com> | 2003-01-09 17:56:34 -0800 |
commit | 6a2fbae6770fdd2ed31583df6d91d401b2123ed7 (patch) | |
tree | 21dacc15de7f2334963649f0bb7f1f0ea98f3ab6 /sql/sql_prepare.cc | |
parent | a91caf8f012bbb3287a94b6c7fa2fc673af6bdc8 (diff) | |
download | mariadb-git-6a2fbae6770fdd2ed31583df6d91d401b2123ed7.tar.gz |
Remove/change unwanted variables in client protocol
Add missed mysql_stmt_affected_rows()
sql_yacc.yy : Fix the compilation error .. bison 1.75
sql/sql_yacc.yy:
Fix the compilarion error .. bison 1.75
Diffstat (limited to 'sql/sql_prepare.cc')
-rw-r--r-- | sql/sql_prepare.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/sql_prepare.cc b/sql/sql_prepare.cc index 93004ce2937..092f7c7a497 100644 --- a/sql/sql_prepare.cc +++ b/sql/sql_prepare.cc @@ -321,9 +321,12 @@ static bool setup_params_data(PREP_STMT *stmt) if (!param->long_data_supplied) { if (IS_PARAM_NULL(pos,param_no)) - param->maybe_null=param->null_value=1; + param->maybe_null= param->null_value= 1; else + { + param->maybe_null= param->null_value= 0; param->setup_param_func(param,&read_pos); + } } param_no++; } |