mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
MDEV-30366 Permit bulk implementation to return ALL individual results
COM_STMT_BULK_STMT new flag to server to returns all unitary results
This commit is contained in:
@@ -124,8 +124,7 @@ enum enum_indicator_type
|
||||
bulk PS flags
|
||||
*/
|
||||
#define STMT_BULK_FLAG_CLIENT_SEND_TYPES 128
|
||||
#define STMT_BULK_FLAG_INSERT_ID_REQUEST 64
|
||||
|
||||
#define STMT_BULK_FLAG_SEND_UNIT_RESULTS 64
|
||||
|
||||
/* sql type stored in .frm files for virtual fields */
|
||||
#define MYSQL_TYPE_VIRTUAL 245
|
||||
@@ -288,6 +287,9 @@ enum enum_indicator_type
|
||||
/* Do not resend metadata for prepared statements, since 10.6*/
|
||||
#define MARIADB_CLIENT_CACHE_METADATA (1ULL << 36)
|
||||
|
||||
/* permit sending unit result-set for BULK commands */
|
||||
#define MARIADB_CLIENT_BULK_UNIT_RESULTS (1ULL << 37)
|
||||
|
||||
#ifdef HAVE_COMPRESS
|
||||
#define CAN_CLIENT_COMPRESS CLIENT_COMPRESS
|
||||
#else
|
||||
@@ -328,7 +330,8 @@ enum enum_indicator_type
|
||||
MARIADB_CLIENT_STMT_BULK_OPERATIONS |\
|
||||
MARIADB_CLIENT_EXTENDED_METADATA|\
|
||||
MARIADB_CLIENT_CACHE_METADATA |\
|
||||
CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS)
|
||||
CLIENT_CAN_HANDLE_EXPIRED_PASSWORDS |\
|
||||
MARIADB_CLIENT_BULK_UNIT_RESULTS)
|
||||
/*
|
||||
Switch off the flags that are optional and depending on build flags
|
||||
If any of the optional flags is supported by the build it will be switched
|
||||
|
Reference in New Issue
Block a user