]> granicus.if.org Git - php/commit
- Don't modify the variables which are passed for parameter binding.
authorAndrey Hristov <andrey@php.net>
Thu, 20 Mar 2008 14:03:30 +0000 (14:03 +0000)
committerAndrey Hristov <andrey@php.net>
Thu, 20 Mar 2008 14:03:30 +0000 (14:03 +0000)
commit6867385d75e7f4623bd24203dd37be4603e6f420
tree9e00e8bdf76d548c7de5cc869289c87d2c93b0ac
parentb2af8cac942340ab9e32de48532e45aa10743725
- Don't modify the variables which are passed for parameter binding.
  We need to clone them, if there will be a transformation (convert_to_xxx)
  which will change the origin
  (bug#44390 bind_param / bind_result and Object member variables)
- Make mysqlnd more compatible to libmysql, in this case if the execute of
  a statement fails set the state of the statement back to PREPARED
- A test case to check the case of a failing statement.
ext/mysqli/mysqli_api.c
ext/mysqli/tests/mysqli_stmt_datatype_change.phpt [new file with mode: 0644]
ext/mysqlnd/mysqlnd.c
ext/mysqlnd/mysqlnd_ps.c
ext/mysqlnd/mysqlnd_ps_codec.c