/PHP-5.4/ext/oci8/ |
H A D | oci8_collection.c | 56 collection->connection = connection; in php_oci_collection_create() 233 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_create() 248 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_size() 276 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_trim() 294 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_null() 314 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_date() 330 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_date() 358 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_number() 374 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_number() 393 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_collection_append_string() [all …]
|
H A D | oci8_lob.c | 72 descriptor->connection = connection; in php_oci_lob_create() 129 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_get_length() 138 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_get_length() 149 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_get_length() 220 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_calculate_buffer() 292 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_read() 302 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_read() 316 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_read() 395 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_read() 468 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_lob_write() [all …]
|
H A D | oci8.c | 1913 if (connection && connection->is_stub) { in php_oci_do_connect_ex() 1929 if (connection && connection->is_persistent && connection->is_stub) { in php_oci_do_connect_ex() 2245 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_connection_rollback() 2246 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_connection_rollback() 2262 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_connection_commit() 2283 if (!connection->using_spool && connection->svc) { in php_oci_connection_close() 2284 PHP_OCI_CALL(OCISessionEnd, (connection->svc, connection->err, connection->session, (ub4) 0)); in php_oci_connection_close() 2411 …connection->is_attached = connection->is_open = connection->needs_commit = connection->used_this_r… in php_oci_connection_release() 2433 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_password_change() 2476 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_server_get_version() [all …]
|
H A D | oci8_statement.c | 74 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_statement_create() 80 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_statement_create() 94 statement->connection = connection; in php_oci_statement_create() 938 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_bind_post_exec() 939 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec() 948 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_bind_post_exec() 949 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_post_exec() 1685 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_bind_array_helper_date() 1686 PHP_OCI_HANDLE_ERROR(connection, connection->errcode); in php_oci_bind_array_helper_date() 1700 connection->errcode = php_oci_error(connection->err, connection->errcode TSRMLS_CC); in php_oci_bind_array_helper_date() [all …]
|
H A D | php_oci8_int.h | 151 php_oci_connection *connection; /* parent connection handle */ member 171 php_oci_connection *connection; /* parent connection handle */ member 190 php_oci_connection *connection; /* parent connection handle */ member 285 #define PHP_OCI_HANDLE_ERROR(connection, errcode) \ argument 312 (connection)->is_open = 0; \ 318 (ub4 *)0, OCI_ATTR_SERVER_STATUS, (connection)->err)); \ 320 (connection)->is_open = 0; \ 332 #define PHP_OCI_ZVAL_TO_CONNECTION(zval, connection) \ argument 352 #define PHP_OCI_ZVAL_TO_CONNECTION_EX(zval, connection) \ argument 375 void php_oci_connection_descriptors_free(php_oci_connection *connection TSRMLS_DC); [all …]
|
H A D | oci8_interface.c | 1072 php_oci_connection *connection; local 1099 php_oci_connection *connection; local 1107 if (connection->descriptors) { 1131 if (connection->descriptors) { 1650 if (connection) { 1651 errh = connection->err; 1652 error = connection->errcode; 1657 if (connection) { 1658 errh = connection->err; 1659 error = connection->errcode; [all …]
|
/PHP-5.4/ext/oci8/tests/ |
H A D | error_parse.phpt | 15 // Test parse error for normal connection 26 echo "Normal connection: Parse error\n"; 31 // Test parse error for new connection 42 echo "New connection: Parse error\n"; 47 // Test parse error for persistent connection 58 echo "Persistent connection: Parse error\n"; 66 echo "No connection: error: "; 102 Normal connection: Parse error 113 New connection: Parse error 124 Persistent connection: Parse error [all …]
|
H A D | drcp_connect1.phpt | 38 echo " Select with connection 2 \n"; 46 echo " Select with connection 3 \n"; 66 echo " Select with persistent connection 2 \n"; 75 resource(%d) of type (oci8 connection) 82 resource(%d) of type (oci8 connection) 83 Select with connection 2 87 resource(%d) of type (oci8 connection) 88 Select with connection 3 92 resource(%d) of type (oci8 persistent connection) 96 resource(%d) of type (oci8 persistent connection) [all …]
|
H A D | persistent.phpt | 20 resource(%d) of type (oci8 persistent connection) 21 resource(%d) of type (oci8 persistent connection) 22 resource(%d) of type (oci8 persistent connection) 23 resource(%d) of type (oci8 connection) 24 resource(%d) of type (oci8 connection) 25 resource(%d) of type (oci8 connection)
|
H A D | drcp_conn_close2.phpt | 13 // Test will open a connection 14 // Close the connection 15 // Open another connection 16 // With oci_close() the connection is released to the pool and hence the 26 // Open another connection 43 resource(%d) of type (oci8 connection) 44 resource(%d) of type (oci8 connection)
|
H A D | drcp_pconn_close2.phpt | 13 // Test will open a persistent connection 14 // Close the connection 15 // Open another connection 16 // With oci_close() the connection is released to the pool and hence the 17 // the second connection will be different 43 resource(%d) of type (oci8 persistent connection) 44 resource(%d) of type (oci8 persistent connection)
|
H A D | bug42134.phpt | 13 // Test collection creation error for normal connection 24 echo "Normal connection: New Collection error\n"; 29 // Test collection creation error for new connection 40 echo "New connection: New Collection error\n"; 45 // Test collection creation error for persistent connection 56 echo "Persistent connection: New Collection error\n"; 66 Normal connection: New Collection error 79 New connection: New Collection error 92 Persistent connection: New Collection error
|
H A D | connect_with_charset_001.phpt | 25 resource(%d) of type (oci8 connection) 26 resource(%d) of type (oci8 connection) 29 resource(%d) of type (oci8 connection) 32 resource(%d) of type (oci8 connection) 34 resource(%d) of type (oci8 connection) 35 resource(%d) of type (oci8 connection)
|
H A D | drcp_pconn_close1.phpt | 13 // Test will open a persistent connection 14 // Close the connection 15 // Open another connection 23 // Open another connection 41 resource(%d) of type (oci8 persistent connection) 42 resource(%d) of type (oci8 persistent connection)
|
H A D | drcp_conn_close1.phpt | 13 // Test will open a connection 14 // Close the connection 15 // Open another connection 24 // Open another connection 42 resource(%d) of type (oci8 connection) 43 resource(%d) of type (oci8 connection)
|
H A D | conn_attr_2.phpt | 2 Set and get of connection attributes across persistent connections and sysdba connection. 53 // Re-open a persistent connection and check for the attr values. 61 // Test with SYSDBA connection. 76 resource(%d) of type (oci8 persistent connection) 83 resource(%d) of type (oci8 persistent connection) 90 resource(%d) of type (oci8 persistent connection) 97 resource(%d) of type (oci8 persistent connection)
|
H A D | drcp_connection_class.phpt | 10 echo "Setting a new connection class now\n"; 13 // Get the New connection class name .Should return New CC 22 Setting a new connection class now
|
H A D | drcp_scope3.phpt | 13 // The test opens a connection within function1 and updates a table 14 // (without committing). Another connection is opened from function 15 // 2, and the table queried. When function1 ends, the connection from 55 resource(%d) of type (oci8 persistent connection) 57 resource(%d) of type (oci8 persistent connection)
|
H A D | conn_attr_3.phpt | 2 Set and get of connection attributes with oci_close(). 64 resource(%d) of type (oci8 connection) 68 resource(%d) of type (oci8 connection) 71 resource(%d) of type (oci8 persistent connection) 75 resource(%d) of type (oci8 persistent connection) 78 resource(%d) of type (oci8 connection) 84 resource(%d) of type (oci8 connection)
|
H A D | drcp_scope1.phpt | 14 // Test will open a connection within a function (function 1). 16 // Open another connection from function 2. 81 resource(%d) of type (oci8 connection) 83 resource(%d) of type (oci8 connection) 88 resource(%d) of type (oci8 connection) 90 resource(%d) of type (oci8 connection)
|
H A D | drcp_scope2.phpt | 14 // Test will open a connection within a function (function 1). 16 // Open another connection from function 2. 80 resource(%d) of type (oci8 connection) 82 resource(%d) of type (oci8 connection) 87 resource(%d) of type (oci8 connection) 89 resource(%d) of type (oci8 connection)
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_pconn_limits.phpt | 17 // opens a regular connection 26 printf("Regular connection 1 - '%s'\n", $row['_desc']); 38 printf("Regular connection 2 - '%s'\n", $row['_desc']); 52 printf("Persistent connection 1 - '%s'\n", $row['_desc']); 65 printf("Persistent connection 2 - '%s'\n", $row['_desc']); 79 printf("Persistent connection 3 - '%s'\n", $row['_desc']); 93 Regular connection 1 - 'works..' 94 Regular connection 2 - 'works...' 95 Persistent connection 1 - 'works...' 96 Persistent connection 2 - 'works...' [all …]
|
/PHP-5.4/ext/mysql/tests/ |
H A D | mysql_pconn_kill.phpt | 2 mysql_pconnect() - killing persitent connection 40 …printf("[003] Cannot find regular connection thread in process list, [%d] %s\n", mysql_errno($link… 42 …printf("[004] Cannot find persistent connection thread in process list, [%d] %s\n", mysql_errno($l… 45 …printf("[005] Cannot kill persistent connection thread, [%d] %s\n", mysql_errno($link), mysql_erro… 63 …printf("[007] Cannot find regular connection thread in process list, [%d] %s\n", mysql_errno($link… 68 printf("[009] Cannot create new persistent connection, [%d] %s\n", mysql_errno(), mysql_error()); 72 …printf("[010] Cannot run query on new persistent connection, [%d] %s\n", @mysql_errno($plink), @my… 78 …printf("[011] Cannot run query on new persistent connection, [%d] %s\n", @mysql_errno($plink), @my… 86 …printf("[013] Cannot kill regular connection thread, [%d] %s\n", mysql_errno($link2), mysql_error(… 93 …printf("[015] Cannot run query on new regular connection, [%d] %s\n", @mysql_errno($link), @mysql_… [all …]
|
/PHP-5.4/ext/pdo_oci/tests/ |
H A D | pdo_oci_attr_autocommit_3.phpt | 2 PDO_OCI: Attribute: closing a connection in non-autocommit mode commits data 14 // Check connection can be created with AUTOCOMMIT off 32 $dbh = null; // close first connection 34 echo "Second connection should be able to see committed data\n"; 50 Second connection should be able to see committed data
|
/PHP-5.4/ext/pgsql/ |
H A D | README | 52 Support async connection. 87 bool pg_send_query(resource connection, string query) 95 bool pg_cancel_query(resource connection) 110 in connection, it returns false. 113 bool pg_connection_busy(resource connection) 118 int pg_connection_status(resource connection) 124 bool pg_connection_reset(resource connection) 127 connection parameter. It's useful for error recovery. 181 string pg_last_notice(resource connection) 220 Get notify message on the connection [all …]
|