Lines Matching refs:ret

35 	enum_func_status ret = FAIL;  in MYSQLND_METHOD()  local
40 ret = send_command(conn->payload_decoder_factory, COM_SET_OPTION, buffer, sizeof(buffer), FALSE, in MYSQLND_METHOD()
47 if (PASS == ret) { in MYSQLND_METHOD()
48ret = send_command_handle_response(conn->payload_decoder_factory, PROT_EOF_PACKET, FALSE, COM_SET_… in MYSQLND_METHOD()
51 DBG_RETURN(ret); in MYSQLND_METHOD()
62 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
66 ret = send_command(conn->payload_decoder_factory, COM_DEBUG, NULL, 0, FALSE, in MYSQLND_METHOD()
73 if (PASS == ret) { in MYSQLND_METHOD()
74ret = send_command_handle_response(conn->payload_decoder_factory, PROT_EOF_PACKET, FALSE, COM_DEBU… in MYSQLND_METHOD()
78 DBG_RETURN(ret); in MYSQLND_METHOD()
89 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
93ret = send_command(conn->payload_decoder_factory, COM_INIT_DB, (const zend_uchar*) db.s, db.l, FAL… in MYSQLND_METHOD()
100 if (PASS == ret) { in MYSQLND_METHOD()
101ret = send_command_handle_response(conn->payload_decoder_factory, PROT_OK_PACKET, FALSE, COM_INIT_… in MYSQLND_METHOD()
110 if (ret == PASS) { in MYSQLND_METHOD()
114 DBG_RETURN(ret); in MYSQLND_METHOD()
125 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
129 ret = send_command(conn->payload_decoder_factory, COM_PING, NULL, 0, TRUE, in MYSQLND_METHOD()
136 if (PASS == ret) { in MYSQLND_METHOD()
137ret = send_command_handle_response(conn->payload_decoder_factory, PROT_OK_PACKET, TRUE, COM_PING, … in MYSQLND_METHOD()
146 DBG_RETURN(ret); in MYSQLND_METHOD()
156 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
160 ret = send_command(conn->payload_decoder_factory, COM_STATISTICS, NULL, 0, FALSE, in MYSQLND_METHOD()
168 if (PASS == ret) { in MYSQLND_METHOD()
172 if (PASS == (ret = PACKET_READ(conn, &stats_header))) { in MYSQLND_METHOD()
180 DBG_RETURN(ret); in MYSQLND_METHOD()
192 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
197 ret = send_command(conn->payload_decoder_factory, COM_PROCESS_KILL, buff, 4, FALSE, in MYSQLND_METHOD()
204 if (PASS == ret && read_response) { in MYSQLND_METHOD()
205ret = send_command_handle_response(conn->payload_decoder_factory, PROT_OK_PACKET, FALSE, COM_PROCE… in MYSQLND_METHOD()
215 } else if (PASS == ret) { in MYSQLND_METHOD()
220 DBG_RETURN(ret); in MYSQLND_METHOD()
232 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
237 ret = send_command(conn->payload_decoder_factory, COM_REFRESH, bits, 1, FALSE, in MYSQLND_METHOD()
244 if (PASS == ret) { in MYSQLND_METHOD()
245ret = send_command_handle_response(conn->payload_decoder_factory, PROT_OK_PACKET, FALSE, COM_REFRE… in MYSQLND_METHOD()
249 DBG_RETURN(ret); in MYSQLND_METHOD()
259 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
263 ret = send_command(conn->payload_decoder_factory, COM_QUIT, NULL, 0, TRUE, in MYSQLND_METHOD()
271 DBG_RETURN(ret); in MYSQLND_METHOD()
281 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
285ret = send_command(conn->payload_decoder_factory, COM_QUERY, (const zend_uchar*) query.s, query.l,… in MYSQLND_METHOD()
293 if (PASS == ret) { in MYSQLND_METHOD()
297 DBG_RETURN(ret); in MYSQLND_METHOD()
307 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
311ret = send_command(conn->payload_decoder_factory, COM_CHANGE_USER, (const zend_uchar*) payload.s, … in MYSQLND_METHOD()
319 DBG_RETURN(ret); in MYSQLND_METHOD()
329 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
335 DBG_RETURN(ret); in MYSQLND_METHOD()
337 ret = conn->m->query_read_result_set_header(conn, NULL); in MYSQLND_METHOD()
339 DBG_RETURN(ret); in MYSQLND_METHOD()
349 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
353ret = send_command(conn->payload_decoder_factory, COM_STMT_PREPARE, (const zend_uchar*) query.s, q… in MYSQLND_METHOD()
361 DBG_RETURN(ret); in MYSQLND_METHOD()
371 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
375 ret = send_command(conn->payload_decoder_factory, COM_STMT_EXECUTE, in MYSQLND_METHOD()
384 DBG_RETURN(ret); in MYSQLND_METHOD()
394 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
398ret = send_command(conn->payload_decoder_factory, COM_STMT_FETCH, (const zend_uchar*) payload.s, p… in MYSQLND_METHOD()
406 DBG_RETURN(ret); in MYSQLND_METHOD()
418 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
423 ret = send_command(conn->payload_decoder_factory, COM_STMT_RESET, cmd_buf, sizeof(cmd_buf), FALSE, in MYSQLND_METHOD()
430 if (PASS == ret) { in MYSQLND_METHOD()
431ret = send_command_handle_response(conn->payload_decoder_factory, PROT_OK_PACKET, FALSE, COM_STMT_… in MYSQLND_METHOD()
435 DBG_RETURN(ret); in MYSQLND_METHOD()
445 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
449ret = send_command(conn->payload_decoder_factory, COM_STMT_SEND_LONG_DATA, (const zend_uchar*) pay… in MYSQLND_METHOD()
457 DBG_RETURN(ret); in MYSQLND_METHOD()
468 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
473 ret = send_command(conn->payload_decoder_factory, COM_STMT_CLOSE, cmd_buf, sizeof(cmd_buf), FALSE, in MYSQLND_METHOD()
481 DBG_RETURN(ret); in MYSQLND_METHOD()
490 enum_func_status ret = FAIL; in MYSQLND_METHOD() local
558 ret = PASS; in MYSQLND_METHOD()
561 DBG_RETURN(ret); in MYSQLND_METHOD()
568 DBG_RETURN(ret); in MYSQLND_METHOD()