summaryrefslogtreecommitdiff
path: root/libmysql
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-11-01 19:01:50 +0300
committerkonstantin@mysql.com <>2004-11-01 19:01:50 +0300
commit96829a4639dec81803fa32c7e98d9641b81cea25 (patch)
tree7dc4010003d21b5adf89e57921bf84d39b230ab4 /libmysql
parentff7e440bb04280a19ece143c27eed793c3f57755 (diff)
downloadmariadb-git-96829a4639dec81803fa32c7e98d9641b81cea25.tar.gz
Remove support for obsolete 4.1.1 prepared statements C API names:
having approval for it since 4.1.4, I also have some assurance that very few people actually used this: to enable these calls a user had to #define HAVE_DEPRECATED_411_API and recompile the client library.
Diffstat (limited to 'libmysql')
-rw-r--r--libmysql/libmysql.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/libmysql/libmysql.c b/libmysql/libmysql.c
index 9195f0a5bc5..88f46ce19e7 100644
--- a/libmysql/libmysql.c
+++ b/libmysql/libmysql.c
@@ -1886,22 +1886,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.