Lines Matching refs:command
54 …struct st_mysqlnd_protocol_com_set_option_command * command = (struct st_mysqlnd_protocol_com_set_… in mysqlnd_com_set_option_run() local
57 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_set_option_run()
58 enum_mysqlnd_server_option option = command->context.option; in mysqlnd_com_set_option_run()
85 struct st_mysqlnd_protocol_com_set_option_command command; in mysqlnd_com_set_option_run_command() local
89 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_set_option_run_command()
90 command.context.option = va_arg(args, enum_mysqlnd_server_option); in mysqlnd_com_set_option_run_command()
92 ret = mysqlnd_com_set_option_run(&command); in mysqlnd_com_set_option_run_command()
104 …struct st_mysqlnd_protocol_no_params_command * command = (struct st_mysqlnd_protocol_no_params_com… in mysqlnd_com_debug_run() local
106 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_debug_run()
133 struct st_mysqlnd_protocol_no_params_command command; in mysqlnd_com_debug_run_command() local
137 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_debug_run_command()
139 ret = mysqlnd_com_debug_run(&command); in mysqlnd_com_debug_run_command()
161 …struct st_mysqlnd_protocol_com_init_db_command * command = (struct st_mysqlnd_protocol_com_init_db… in mysqlnd_com_init_db_run() local
163 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_init_db_run()
164 const MYSQLND_CSTRING db = command->context.db; in mysqlnd_com_init_db_run()
170 …nd(conn->payload_decoder_factory, COM_INIT_DB, (zend_uchar*) command->context.db.s, command->conte… in mysqlnd_com_init_db_run()
209 struct st_mysqlnd_protocol_com_init_db_command command; in mysqlnd_com_init_db_run_command() local
213 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_init_db_run_command()
214 command.context.db = va_arg(args, MYSQLND_CSTRING); in mysqlnd_com_init_db_run_command()
216 ret = mysqlnd_com_init_db_run(&command); in mysqlnd_com_init_db_run_command()
228 …struct st_mysqlnd_protocol_no_params_command * command = (struct st_mysqlnd_protocol_no_params_com… in mysqlnd_com_ping_run() local
230 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_ping_run()
262 struct st_mysqlnd_protocol_no_params_command command; in mysqlnd_com_ping_run_command() local
266 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_ping_run_command()
268 ret = mysqlnd_com_ping_run(&command); in mysqlnd_com_ping_run_command()
290 …struct st_mysqlnd_protocol_com_statistics_command * command = (struct st_mysqlnd_protocol_com_stat… in mysqlnd_com_statistics_run() local
292 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_statistics_run()
293 zend_string **message = command->context.message; in mysqlnd_com_statistics_run()
327 struct st_mysqlnd_protocol_com_statistics_command command; in mysqlnd_com_statistics_run_command() local
331 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_statistics_run_command()
332 command.context.message = va_arg(args, zend_string **); in mysqlnd_com_statistics_run_command()
334 ret = mysqlnd_com_statistics_run(&command); in mysqlnd_com_statistics_run_command()
356 …struct st_mysqlnd_protocol_com_process_kill_command * command = (struct st_mysqlnd_protocol_com_pr… in mysqlnd_com_process_kill_run() local
359 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_process_kill_run()
360 zend_bool read_response = command->context.read_response; in mysqlnd_com_process_kill_run()
365 int4store(buff, command->context.process_id); in mysqlnd_com_process_kill_run()
399 struct st_mysqlnd_protocol_com_process_kill_command command; in mysqlnd_com_process_kill_run_command() local
403 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_process_kill_run_command()
404 command.context.process_id = va_arg(args, unsigned int); in mysqlnd_com_process_kill_run_command()
405 command.context.read_response = va_arg(args, unsigned int)? TRUE:FALSE; in mysqlnd_com_process_kill_run_command()
407 ret = mysqlnd_com_process_kill_run(&command); in mysqlnd_com_process_kill_run_command()
428 …struct st_mysqlnd_protocol_com_refresh_command * command = (struct st_mysqlnd_protocol_com_refresh… in mysqlnd_com_refresh_run() local
431 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_refresh_run()
436 int1store(bits, command->context.options); in mysqlnd_com_refresh_run()
459 struct st_mysqlnd_protocol_com_refresh_command command; in mysqlnd_com_refresh_run_command() local
463 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_refresh_run_command()
464 command.context.options = va_arg(args, unsigned int); in mysqlnd_com_refresh_run_command()
466 ret = mysqlnd_com_refresh_run(&command); in mysqlnd_com_refresh_run_command()
488 …struct st_mysqlnd_protocol_com_shutdown_command * command = (struct st_mysqlnd_protocol_com_shutdo… in mysqlnd_com_shutdown_run() local
491 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_shutdown_run()
496 int1store(bits, command->context.level); in mysqlnd_com_shutdown_run()
519 struct st_mysqlnd_protocol_com_shutdown_command command; in mysqlnd_com_shutdown_run_command() local
523 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_shutdown_run_command()
524 command.context.level = va_arg(args, unsigned int); in mysqlnd_com_shutdown_run_command()
526 ret = mysqlnd_com_shutdown_run(&command); in mysqlnd_com_shutdown_run_command()
547 …struct st_mysqlnd_protocol_com_quit_command * command = (struct st_mysqlnd_protocol_com_quit_comma… in mysqlnd_com_quit_run() local
549 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_quit_run()
571 struct st_mysqlnd_protocol_com_quit_command command; in mysqlnd_com_quit_run_command() local
575 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_quit_run_command()
577 ret = mysqlnd_com_quit_run(&command); in mysqlnd_com_quit_run_command()
598 …struct st_mysqlnd_protocol_com_query_command * command = (struct st_mysqlnd_protocol_com_query_com… in mysqlnd_com_query_run() local
600 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_query_run()
605 …and(conn->payload_decoder_factory, COM_QUERY, (zend_uchar*) command->context.query.s, command->con… in mysqlnd_com_query_run()
626 struct st_mysqlnd_protocol_com_query_command command; in mysqlnd_com_query_run_command() local
630 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_query_run_command()
631 command.context.query = va_arg(args, MYSQLND_CSTRING); in mysqlnd_com_query_run_command()
633 ret = mysqlnd_com_query_run(&command); in mysqlnd_com_query_run_command()
655 …struct st_mysqlnd_protocol_com_change_user_command * command = (struct st_mysqlnd_protocol_com_cha… in mysqlnd_com_change_user_run() local
657 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_change_user_run()
662 …oder_factory, COM_CHANGE_USER, (zend_uchar*) command->context.payload.s, command->context.payload.… in mysqlnd_com_change_user_run()
679 struct st_mysqlnd_protocol_com_change_user_command command; in mysqlnd_com_change_user_run_command() local
683 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_change_user_run_command()
684 command.context.payload = va_arg(args, MYSQLND_CSTRING); in mysqlnd_com_change_user_run_command()
685 command.context.silent = va_arg(args, unsigned int); in mysqlnd_com_change_user_run_command()
687 ret = mysqlnd_com_change_user_run(&command); in mysqlnd_com_change_user_run_command()
708 …struct st_mysqlnd_protocol_com_reap_result_command * command = (struct st_mysqlnd_protocol_com_rea… in mysqlnd_com_reap_result_run() local
710 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_reap_result_run()
730 struct st_mysqlnd_protocol_com_reap_result_command command; in mysqlnd_com_reap_result_run_command() local
734 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_reap_result_run_command()
736 ret = mysqlnd_com_reap_result_run(&command); in mysqlnd_com_reap_result_run_command()
758 …struct st_mysqlnd_protocol_com_stmt_prepare_command * command = (struct st_mysqlnd_protocol_com_st… in mysqlnd_com_stmt_prepare_run() local
760 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_stmt_prepare_run()
765 …n->payload_decoder_factory, COM_STMT_PREPARE, (zend_uchar*) command->context.query.s, command->con… in mysqlnd_com_stmt_prepare_run()
782 struct st_mysqlnd_protocol_com_stmt_prepare_command command; in mysqlnd_com_stmt_prepare_run_command() local
786 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_stmt_prepare_run_command()
787 command.context.query = va_arg(args, MYSQLND_CSTRING); in mysqlnd_com_stmt_prepare_run_command()
789 ret = mysqlnd_com_stmt_prepare_run(&command); in mysqlnd_com_stmt_prepare_run_command()
811 …struct st_mysqlnd_protocol_com_stmt_execute_command * command = (struct st_mysqlnd_protocol_com_st… in mysqlnd_com_stmt_execute_run() local
813 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_stmt_execute_run()
818 …->payload_decoder_factory, COM_STMT_EXECUTE, (zend_uchar*) command->context.payload.s, command->co… in mysqlnd_com_stmt_execute_run()
835 struct st_mysqlnd_protocol_com_stmt_execute_command command; in mysqlnd_com_stmt_execute_run_command() local
839 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_stmt_execute_run_command()
840 command.context.payload = va_arg(args, MYSQLND_CSTRING); in mysqlnd_com_stmt_execute_run_command()
842 ret = mysqlnd_com_stmt_execute_run(&command); in mysqlnd_com_stmt_execute_run_command()
864 …struct st_mysqlnd_protocol_com_stmt_fetch_command * command = (struct st_mysqlnd_protocol_com_stmt… in mysqlnd_com_stmt_fetch_run() local
866 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_stmt_fetch_run()
871 …nn->payload_decoder_factory, COM_STMT_FETCH, (zend_uchar*) command->context.payload.s, command->co… in mysqlnd_com_stmt_fetch_run()
888 struct st_mysqlnd_protocol_com_stmt_fetch_command command; in mysqlnd_com_stmt_fetch_run_command() local
892 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_stmt_fetch_run_command()
893 command.context.payload = va_arg(args, MYSQLND_CSTRING); in mysqlnd_com_stmt_fetch_run_command()
895 ret = mysqlnd_com_stmt_fetch_run(&command); in mysqlnd_com_stmt_fetch_run_command()
918 …struct st_mysqlnd_protocol_com_stmt_reset_command * command = (struct st_mysqlnd_protocol_com_stmt… in mysqlnd_com_stmt_reset_run() local
920 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_stmt_reset_run()
926 int4store(cmd_buf, command->context.stmt_id); in mysqlnd_com_stmt_reset_run()
948 struct st_mysqlnd_protocol_com_stmt_reset_command command; in mysqlnd_com_stmt_reset_run_command() local
952 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_stmt_reset_run_command()
953 command.context.stmt_id = va_arg(args, size_t); in mysqlnd_com_stmt_reset_run_command()
955 ret = mysqlnd_com_stmt_reset_run(&command); in mysqlnd_com_stmt_reset_run_command()
977 …struct st_mysqlnd_protocol_com_stmt_send_long_data_command * command = (struct st_mysqlnd_protocol… in mysqlnd_com_stmt_send_long_data_run() local
979 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_stmt_send_long_data_run()
984 …ad_decoder_factory, COM_STMT_SEND_LONG_DATA, (zend_uchar*) command->context.payload.s, command->co… in mysqlnd_com_stmt_send_long_data_run()
1001 struct st_mysqlnd_protocol_com_stmt_send_long_data_command command; in mysqlnd_com_stmt_send_long_data_run_command() local
1005 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_stmt_send_long_data_run_command()
1006 command.context.payload = va_arg(args, MYSQLND_CSTRING); in mysqlnd_com_stmt_send_long_data_run_command()
1008 ret = mysqlnd_com_stmt_send_long_data_run(&command); in mysqlnd_com_stmt_send_long_data_run_command()
1031 …struct st_mysqlnd_protocol_com_stmt_close_command * command = (struct st_mysqlnd_protocol_com_stmt… in mysqlnd_com_stmt_close_run() local
1033 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_stmt_close_run()
1038 int4store(cmd_buf, command->context.stmt_id); in mysqlnd_com_stmt_close_run()
1056 struct st_mysqlnd_protocol_com_stmt_close_command command; in mysqlnd_com_stmt_close_run_command() local
1060 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_stmt_close_run_command()
1061 command.context.stmt_id = va_arg(args, size_t); in mysqlnd_com_stmt_close_run_command()
1063 ret = mysqlnd_com_stmt_close_run(&command); in mysqlnd_com_stmt_close_run_command()
1088 …struct st_mysqlnd_protocol_com_enable_ssl_command * command = (struct st_mysqlnd_protocol_com_enab… in mysqlnd_com_enable_ssl_run() local
1090 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_enable_ssl_run()
1092 size_t client_capabilities = command->context.client_capabilities; in mysqlnd_com_enable_ssl_run()
1093 size_t server_capabilities = command->context.server_capabilities; in mysqlnd_com_enable_ssl_run()
1126 auth_packet.charset_no = command->context.charset_no; in mysqlnd_com_enable_ssl_run()
1176 struct st_mysqlnd_protocol_com_enable_ssl_command command; in mysqlnd_com_enable_ssl_run_command() local
1180 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_enable_ssl_run_command()
1181 command.context.client_capabilities = va_arg(args, size_t); in mysqlnd_com_enable_ssl_run_command()
1182 command.context.server_capabilities = va_arg(args, size_t); in mysqlnd_com_enable_ssl_run_command()
1183 command.context.charset_no = va_arg(args, unsigned int); in mysqlnd_com_enable_ssl_run_command()
1185 ret = mysqlnd_com_enable_ssl_run(&command); in mysqlnd_com_enable_ssl_run_command()
1209 …struct st_mysqlnd_protocol_com_handshake_command * command = (struct st_mysqlnd_protocol_com_hands… in mysqlnd_com_handshake_run() local
1210 const char * user = command->context.user.s; in mysqlnd_com_handshake_run()
1212 const char * passwd = command->context.passwd.s; in mysqlnd_com_handshake_run()
1213 size_t passwd_len = command->context.passwd.l; in mysqlnd_com_handshake_run()
1215 const char * db = command->context.database.s; in mysqlnd_com_handshake_run()
1216 size_t db_len = command->context.database.l; in mysqlnd_com_handshake_run()
1218 size_t mysql_flags = command->context.client_flags; in mysqlnd_com_handshake_run()
1220 MYSQLND_CONN_DATA * conn = command->context.conn; in mysqlnd_com_handshake_run()
1286 struct st_mysqlnd_protocol_com_handshake_command command; in mysqlnd_com_handshake_run_command() local
1290 command.context.conn = va_arg(args, MYSQLND_CONN_DATA *); in mysqlnd_com_handshake_run_command()
1291 command.context.user = *va_arg(args, const MYSQLND_CSTRING *); in mysqlnd_com_handshake_run_command()
1292 command.context.passwd = *va_arg(args, const MYSQLND_CSTRING *); in mysqlnd_com_handshake_run_command()
1293 command.context.database = *va_arg(args, const MYSQLND_CSTRING *); in mysqlnd_com_handshake_run_command()
1294 command.context.client_flags = va_arg(args, size_t); in mysqlnd_com_handshake_run_command()
1296 ret = mysqlnd_com_handshake_run(&command); in mysqlnd_com_handshake_run_command()
1306 _mysqlnd_run_command(enum php_mysqlnd_server_command command, ...) in _mysqlnd_run_command() argument
1312 va_start(args, command); in _mysqlnd_run_command()
1313 switch (command) { in _mysqlnd_run_command()