mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-9117: Client Server capability negotiation for MariaDB specific functionality
New capability flags space. Removed old progress flag, added new one.
This commit is contained in:
@@ -18699,8 +18699,11 @@ static void test_progress_reporting()
|
||||
|
||||
myheader("test_progress_reporting");
|
||||
|
||||
conn= client_connect(CLIENT_PROGRESS, MYSQL_PROTOCOL_TCP, 0);
|
||||
DIE_UNLESS(conn->client_flag & CLIENT_PROGRESS);
|
||||
|
||||
conn= client_connect(CLIENT_PROGRESS_OBSOLETE, MYSQL_PROTOCOL_TCP, 0);
|
||||
if (!(conn->server_capabilities & CLIENT_PROGRESS_OBSOLETE))
|
||||
return;
|
||||
DIE_UNLESS(conn->client_flag & CLIENT_PROGRESS_OBSOLETE);
|
||||
|
||||
mysql_options(conn, MYSQL_PROGRESS_CALLBACK, (void*) report_progress);
|
||||
rc= mysql_query(conn, "set @save=@@global.progress_report_time");
|
||||
|
Reference in New Issue
Block a user