mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
HAVE_DEPRECATED_411_API macro removed.
include/mysql.h: Removed obsolete define. tests/client_test.c: Rewritten to use new API. Few cleanups. A lot of valgrind warnings/errors removed.
This commit is contained in:
@@ -77,7 +77,6 @@ extern char *mysql_unix_port;
|
|||||||
#define IS_NUM_FIELD(f) ((f)->flags & NUM_FLAG)
|
#define IS_NUM_FIELD(f) ((f)->flags & NUM_FLAG)
|
||||||
#define INTERNAL_NUM_FIELD(f) (((f)->type <= FIELD_TYPE_INT24 && ((f)->type != FIELD_TYPE_TIMESTAMP || (f)->length == 14 || (f)->length == 8)) || (f)->type == FIELD_TYPE_YEAR)
|
#define INTERNAL_NUM_FIELD(f) (((f)->type <= FIELD_TYPE_INT24 && ((f)->type != FIELD_TYPE_TIMESTAMP || (f)->length == 14 || (f)->length == 8)) || (f)->type == FIELD_TYPE_YEAR)
|
||||||
|
|
||||||
#define HAVE_DEPRECATED_411_API 1
|
|
||||||
|
|
||||||
typedef struct st_mysql_field {
|
typedef struct st_mysql_field {
|
||||||
char *name; /* Name of column */
|
char *name; /* Name of column */
|
||||||
|
2233
tests/client_test.c
2233
tests/client_test.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user