Lines Matching refs:opt

4550 		if (!(opt & PGSQL_CONV_IGNORE_DEFAULT) && Z_TYPE_P(has_default) == IS_TRUE) { \
4555 else if (!(opt & PGSQL_CONV_IGNORE_NOT_NULL) && Z_TYPE_P(not_null) == IS_TRUE) { \
4564 …t(PGconn *pg_link, const zend_string *table_name, const zval *values, zval *result, zend_ulong opt) in php_pgsql_convert() argument
4574 ZEND_ASSERT(!(opt & ~PGSQL_CONV_OPTS)); in php_pgsql_convert()
4810 if (opt & PGSQL_CONV_FORCE_NULL) { in php_pgsql_convert()
5249 static bool do_exec(smart_str *querystr, ExecStatusType expect, PGconn *pg_link, zend_ulong opt) /*… in do_exec() argument
5251 if (opt & PGSQL_DML_ASYNC) { in do_exec()
5303 …sert(PGconn *pg_link, const zend_string *table, zval *var_array, zend_ulong opt, zend_string **sql) in php_pgsql_insert() argument
5326 if (!(opt & (PGSQL_DML_NO_CONV|PGSQL_DML_ESCAPE))) { in php_pgsql_insert()
5328 …if (php_pgsql_convert(pg_link, table, var_array, &converted, (opt & PGSQL_CONV_OPTS)) == FAILURE) { in php_pgsql_insert()
5343 if (opt & PGSQL_DML_ESCAPE) { in php_pgsql_insert()
5360 if (opt & PGSQL_DML_ESCAPE) { in php_pgsql_insert()
5396 if ((opt & (PGSQL_DML_EXEC|PGSQL_DML_ASYNC)) && in php_pgsql_insert()
5397 do_exec(&querystr, PGRES_COMMAND_OK, pg_link, (opt & PGSQL_CONV_OPTS))) { in php_pgsql_insert()
5400 else if (opt & PGSQL_DML_STRING) { in php_pgsql_insert()
5406 if (ret == SUCCESS && (opt & PGSQL_DML_STRING)) { in php_pgsql_insert()
5508 …r *querystr, HashTable *ht, int where_cond, const char *pad, int pad_len, zend_ulong opt) /* {{{ */ in build_assignment_string() argument
5518 if (opt & PGSQL_DML_ESCAPE) { in build_assignment_string()
5534 if (opt & PGSQL_DML_ESCAPE) { in build_assignment_string()
5571 …ink, const zend_string *table, zval *var_array, zval *ids_array, zend_ulong opt, zend_string **sql) in php_pgsql_update() argument
5581 …ZEND_ASSERT(!(opt & ~(PGSQL_CONV_OPTS|PGSQL_DML_NO_CONV|PGSQL_DML_EXEC|PGSQL_DML_STRING|PGSQL_DML_… in php_pgsql_update()
5590 if (!(opt & (PGSQL_DML_NO_CONV|PGSQL_DML_ESCAPE))) { in php_pgsql_update()
5592 …if (php_pgsql_convert(pg_link, table, var_array, &var_converted, (opt & PGSQL_CONV_OPTS)) == FAILU… in php_pgsql_update()
5597 …if (php_pgsql_convert(pg_link, table, ids_array, &ids_converted, (opt & PGSQL_CONV_OPTS)) == FAILU… in php_pgsql_update()
5607 if (build_assignment_string(pg_link, &querystr, Z_ARRVAL_P(var_array), 0, ",", 1, opt)) in php_pgsql_update()
5612 …d_assignment_string(pg_link, &querystr, Z_ARRVAL_P(ids_array), 1, " AND ", sizeof(" AND ")-1, opt)) in php_pgsql_update()
5618 if ((opt & PGSQL_DML_EXEC) && do_exec(&querystr, PGRES_COMMAND_OK, pg_link, opt)) { in php_pgsql_update()
5620 } else if (opt & PGSQL_DML_STRING) { in php_pgsql_update()
5627 if (ret == SUCCESS && (opt & PGSQL_DML_STRING)) { in php_pgsql_update()
5682 …lete(PGconn *pg_link, const zend_string *table, zval *ids_array, zend_ulong opt, zend_string **sql) in php_pgsql_delete() argument
5691 ZEND_ASSERT(!(opt & ~(PGSQL_CONV_FORCE_NULL|PGSQL_DML_EXEC|PGSQL_DML_STRING|PGSQL_DML_ESCAPE))); in php_pgsql_delete()
5698 if (!(opt & (PGSQL_DML_NO_CONV|PGSQL_DML_ESCAPE))) { in php_pgsql_delete()
5700 …if (php_pgsql_convert(pg_link, table, ids_array, &ids_converted, (opt & PGSQL_CONV_OPTS)) == FAILU… in php_pgsql_delete()
5710 …d_assignment_string(pg_link, &querystr, Z_ARRVAL_P(ids_array), 1, " AND ", sizeof(" AND ")-1, opt)) in php_pgsql_delete()
5716 if ((opt & PGSQL_DML_EXEC) && do_exec(&querystr, PGRES_COMMAND_OK, pg_link, opt)) { in php_pgsql_delete()
5718 } else if (opt & PGSQL_DML_STRING) { in php_pgsql_delete()
5724 if (ret == SUCCESS && (opt & PGSQL_DML_STRING)) { in php_pgsql_delete()
5820 …nk, const zend_string *table, zval *ids_array, zval *ret_array, zend_ulong opt, long result_type, … in php_pgsql_select() argument
5831 …ZEND_ASSERT(!(opt & ~(PGSQL_CONV_OPTS|PGSQL_DML_NO_CONV|PGSQL_DML_EXEC|PGSQL_DML_ASYNC|PGSQL_DML_S… in php_pgsql_select()
5838 if (!(opt & (PGSQL_DML_NO_CONV|PGSQL_DML_ESCAPE))) { in php_pgsql_select()
5840 …if (php_pgsql_convert(pg_link, table, ids_array, &ids_converted, (opt & PGSQL_CONV_OPTS)) == FAILU… in php_pgsql_select()
5850 …d_assignment_string(pg_link, &querystr, Z_ARRVAL_P(ids_array), 1, " AND ", sizeof(" AND ")-1, opt)) in php_pgsql_select()
5867 if (ret == SUCCESS && (opt & PGSQL_DML_STRING)) { in php_pgsql_select()