1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Build fix: moved Item_result back to mariadb_com.h

Since Item_result is not used by Connector/C's binlog api
only, but also by server code, Item_result enumeration was
moved back to mariadb_com.h
This commit is contained in:
Georg Richter
2025-01-07 16:58:39 +01:00
parent fa9f5f66be
commit 75d381ffb2
2 changed files with 2 additions and 2 deletions

View File

@@ -52,6 +52,8 @@
#define MYSQL_AUTODETECT_CHARSET_NAME "auto" #define MYSQL_AUTODETECT_CHARSET_NAME "auto"
#define BINCMP_FLAG 131072 #define BINCMP_FLAG 131072
enum Item_result {STRING_RESULT,REAL_RESULT,INT_RESULT,ROW_RESULT,DECIMAL_RESULT};
enum mysql_enum_shutdown_level enum mysql_enum_shutdown_level
{ {
SHUTDOWN_DEFAULT = 0, SHUTDOWN_DEFAULT = 0,

View File

@@ -73,8 +73,6 @@ extern "C" {
#define SEMI_SYNC_INDICATOR 0xEF #define SEMI_SYNC_INDICATOR 0xEF
#define SEMI_SYNC_ACK_REQ 0x01 #define SEMI_SYNC_ACK_REQ 0x01
enum Item_result {STRING_RESULT,REAL_RESULT,INT_RESULT,ROW_RESULT,DECIMAL_RESULT};
/* Options */ /* Options */
enum mariadb_rpl_option { enum mariadb_rpl_option {
MARIADB_RPL_FILENAME, /* Filename and length */ MARIADB_RPL_FILENAME, /* Filename and length */