Home
last modified time | relevance | path

Searched refs:max_allowed_packet (Results 1 – 11 of 11) sorted by relevance

/PHP-7.2/ext/mysqli/tests/
H A Dmysqli_insert_packet_overflow.phpt12 if (!$res = mysqli_query($link, "SHOW GLOBAL VARIABLES LIKE 'max_allowed_packet'"))
28 if (!$res = mysqli_query($link, "SHOW GLOBAL VARIABLES LIKE 'max_allowed_packet'"))
37 …printf("[004] Cannot determine max_allowed_packet size and/or bogus max_allowed_packet setting use…
41 if (!mysqli_query($link, "SET GLOBAL max_allowed_packet = " . ($max_len + 100))) {
58 if (!$res = mysqli_query($link, "SHOW GLOBAL VARIABLES LIKE 'max_allowed_packet'"))
66 if (0 === ($max_allowed_packet = (int)$row['Value']))
67 …printf("[010] Cannot determine max_allowed_packet size and/or bogus max_allowed_packet setting use…
70 if ($max_allowed_packet < $max_len) {
71 printf("[011] Failed to change max_allowed_packet");
87 …printf("[013] max_allowed_packet = %d, strlen(query) = %d, [%d] %s\n", $max_allowed_packet, strlen…
[all …]
H A Dmysqli_stmt_send_long_data_packet_size_libmysql.phpt33 if (!$res = mysqli_query($link, "SHOW VARIABLES LIKE 'max_allowed_packet'"))
41 if (0 === ($max_allowed_packet = (int)$row['Value']))
42 …printf("[008] Cannot determine max_allowed_packet size and/or bogus max_allowed_packet setting use…
52 $limit = min(floor($max_allowed_packet / 1024 / 2), 10240);
56 assert(strlen($blob) <= $max_allowed_packet);
68 if (floor($max_allowed_packet / 1024 / 2) <= 10240) {
71 $limit = $max_allowed_packet - strlen($blob) + 1;
76 assert(strlen($blob2) > $max_allowed_packet);
H A Dmysqli_stmt_send_long_data_packet_size_mysqlnd.phpt33 if (!$res = mysqli_query($link, "SHOW VARIABLES LIKE 'max_allowed_packet'"))
41 if (0 === ($max_allowed_packet = (int)$row['Value']))
42 …printf("[008] Cannot determine max_allowed_packet size and/or bogus max_allowed_packet setting use…
50 $limit = min(floor($max_allowed_packet / 1024 / 2), 10240);
53 assert(strlen($blob) <= $max_allowed_packet);
74 if (floor($max_allowed_packet / 1024 / 2) <= 10240) {
77 $limit = $max_allowed_packet - strlen($blob) + 1;
81 assert(strlen($blob2) > $max_allowed_packet);
H A Dmysqli_stmt_send_long_data.phpt44 if (!$res = mysqli_query($link, "SHOW VARIABLES LIKE 'max_allowed_packet'"))
56 if (0 === ($max_allowed_packet = (int)$row['Value']))
57 …printf("[011] Cannot determine max_allowed_packet size and/or bogus max_allowed_packet setting use…
67 $limit = min(floor($max_allowed_packet / 1024 / 2), 10240);
71 if (floor($max_allowed_packet / 1024) <= 10240) {
72 $limit = strlen($blob) - $max_allowed_packet - 1;
77 assert(strlen($blob) <= $max_allowed_packet);
H A Dmysqli_stmt_bind_param_many_columns.phpt32 list($old_max_allowed_packet) = $link->query("SELECT @@max_allowed_packet")->fetch_row();
33 if (!$link->query("SET GLOBAL max_allowed_packet=(2<<29)")) {
39 …printf("[002] Failed to set max_allowed_packet the test table: [%d] %s\n", mysqli_errno($link), my…
86 if (!$link->query("SET GLOBAL max_allowed_packet=$old_max_allowed_packet")) {
88 …printf("Failed to set max_allowed_packet the test table: [%d] %s\n", mysqli_errno($link), mysqli_e…
H A Dbug73800.phpt15 $link->query('SET @@global.max_allowed_packet = 67108864');
H A Dbug74021.phpt14 $link->query('SET @@global.max_allowed_packet = 67108864');
H A Dmysqli_fetch_array_large.phpt28 …_errno($link) || 2006 == mysqli_errno($link) || stristr(mysqli_error($link), 'max_allowed_packet'))
30 myslqnd - [1153] Got a packet bigger than 'max_allowed_packet' bytes
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_auth.c293 auth_packet->max_packet_size = session_options->max_allowed_packet; in mysqlnd_auth_handshake()
H A Dmysqlnd_structs.h229 ulong max_allowed_packet; member
H A Dmysqlnd_connection.c1793 conn->options->max_allowed_packet = *(unsigned int*) value;

Completed in 49 milliseconds