diff options
author | konstantin@mysql.com <> | 2004-03-05 19:04:59 +0300 |
---|---|---|
committer | konstantin@mysql.com <> | 2004-03-05 19:04:59 +0300 |
commit | 1d624d354661726af0525b757de87dd9cfcc3058 (patch) | |
tree | 22a9fb43a82f29e55bc52756406dbade8230edb4 /libmysql | |
parent | 5e54670a09adedde90cc8b14f78883e534e1a1f8 (diff) | |
download | mariadb-git-1d624d354661726af0525b757de87dd9cfcc3058.tar.gz |
Fix for C++ style declaration
Diffstat (limited to 'libmysql')
-rw-r--r-- | libmysql/libmysql.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c index c54f2044a3f..9fd0cb00dd2 100644 --- a/libmysql/libmysql.c +++ b/libmysql/libmysql.c @@ -1643,9 +1643,10 @@ my_bool cli_read_prepare_result(MYSQL *mysql, MYSQL_STMT *stmt) MYSQL_STMT * STDCALL mysql_prepare(MYSQL *mysql, const char *query, unsigned long query_length) { + MYSQL_STMT *stmt; DBUG_ENTER("mysql_prepare"); - MYSQL_STMT *stmt= mysql_stmt_init(mysql); + stmt= mysql_stmt_init(mysql); if (stmt && mysql_stmt_prepare(stmt, query, query_length)) { stmt_close(stmt, 0); |