diff options
author | unknown <konstantin@mysql.com> | 2005-06-17 23:26:25 +0400 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2005-06-17 23:26:25 +0400 |
commit | 85e0957ac2fc92bf6f4a701515e0bca1adf12be6 (patch) | |
tree | c717e85867b447ea03e767d03e54e0085e7ecbee /libmysqld | |
parent | 7f269ebba04c5e6e645d9871af8a555628986430 (diff) | |
download | mariadb-git-85e0957ac2fc92bf6f4a701515e0bca1adf12be6.tar.gz |
Rename all prepared statements COM_ commands to prefix with COM_STMT_
libmysql/libmysql.c:
Rename.
libmysqld/lib_sql.cc:
Rename.
sql/item_cmpfunc.cc:
Use proper method to check for stmt prepare, only_prepare is removed.
sql/mysql_priv.h:
Remove an obsolete define. Rename mysql_stmt_free to mysql_stmt_close.
sql/sql_class.h:
Remove THD::only_prepare.
Rename.
sql/sql_lex.cc:
Rename COM_PREPARE -> COM_STMT_PREPARE
sql/sql_parse.cc:
Rename.
sql/sql_prepare.cc:
Rename.
sql/sql_yacc.yy:
Rename.
tests/mysql_client_test.c:
Rename.
Diffstat (limited to 'libmysqld')
-rw-r--r-- | libmysqld/lib_sql.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmysqld/lib_sql.cc b/libmysqld/lib_sql.cc index 74a1c8c7922..dd4ba939ebe 100644 --- a/libmysqld/lib_sql.cc +++ b/libmysqld/lib_sql.cc @@ -220,7 +220,7 @@ static int emb_stmt_execute(MYSQL_STMT *stmt) THD *thd= (THD*)stmt->mysql->thd; thd->client_param_count= stmt->param_count; thd->client_params= stmt->params; - if (emb_advanced_command(stmt->mysql, COM_EXECUTE,0,0, + if (emb_advanced_command(stmt->mysql, COM_STMT_EXECUTE,0,0, header, sizeof(header), 1) || emb_mysql_read_query_result(stmt->mysql)) { |