Author: ahristov
Date: 2007-03-03 02:44:12 +0100 (Sat, 03 Mar 2007)
New Revision: 82
Modified:
trunk/ext/mysqli/mysqlnd/mysqlnd_ps.c
Log:
Don't issue a notice if the user forgets to call send_long_data()
Modified: trunk/ext/mysqli/mysqlnd/mysqlnd_ps.c
===================================================================
--- trunk/ext/mysqli/mysqlnd/mysqlnd_ps.c 2007-03-03 01:37:57 UTC (rev 81)
+++ trunk/ext/mysqli/mysqlnd/mysqlnd_ps.c 2007-03-03 01:44:12 UTC (rev 82)
@@ -329,7 +329,6 @@
zend_uchar *request;
size_t request_len;
zend_bool free_request;
- unsigned int i;
SET_ERROR_AFF_ROWS(stmt);
SET_ERROR_AFF_ROWS(stmt->conn);
@@ -368,15 +367,6 @@
"No data supplied for parameters in prepared statement");
return FAIL;
}
- /* Check whether data was provided from BLOBS */
- for (i = 0; i < stmt->param_count; i++) {
- if (stmt->param_bind[i].type == MYSQL_TYPE_LONG_BLOB &&
- (!(stmt->param_bind[i].flags & MYSQLND_PARAM_BIND_BLOB_USED)))
- {
- php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Parameter %u bound as BLOB "
- "but not sent to the server. Inserting empty string.", i);
- }
- }
request = mysqlnd_stmt_execute_generate_request(stmt, &request_len,
&free_request);
| Thread |
|---|
| • PHP mysqlnd svn commit: r82 - trunk/ext/mysqli/mysqlnd | ahristov | 3 Mar |