mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge with 4.1 to get in latest bug fixes
This commit is contained in:
@ -1887,22 +1887,6 @@ my_bool cli_read_prepare_result(MYSQL *mysql, MYSQL_STMT *stmt)
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
|
||||
#ifdef HAVE_DEPRECATED_411_API
|
||||
MYSQL_STMT * STDCALL mysql_prepare(MYSQL *mysql, const char *query,
|
||||
unsigned long query_length)
|
||||
{
|
||||
MYSQL_STMT *stmt;
|
||||
DBUG_ENTER("mysql_prepare");
|
||||
|
||||
stmt= mysql_stmt_init(mysql);
|
||||
if (stmt && mysql_stmt_prepare(stmt, query, query_length))
|
||||
{
|
||||
mysql_stmt_close(stmt);
|
||||
DBUG_RETURN(0);
|
||||
}
|
||||
DBUG_RETURN(stmt);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
Allocate memory and init prepared statement structure.
|
||||
|
Reference in New Issue
Block a user