[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_3_5-6113-g148eab9

Marc Delisle lem9 at users.sourceforge.net
Sat Jul 31 13:07:21 CEST 2010


The branch, master has been updated
       via  148eab912112004aab23f27138f93406d87b00f0 (commit)
      from  3e666e94de7dfcd092dd9fdbf838b88039bdb46c (commit)


- Log -----------------------------------------------------------------
commit 148eab912112004aab23f27138f93406d87b00f0
Author: Marc Delisle <marc at infomarc.info>
Date:   Sat Jul 31 07:07:02 2010 -0400

    must set the LONGBLOB field to NULL to remove a BLOB reference

-----------------------------------------------------------------------

Summary of changes:
 tbl_replace.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tbl_replace.php b/tbl_replace.php
index 6d4fd83..e372bd0 100644
--- a/tbl_replace.php
+++ b/tbl_replace.php
@@ -230,7 +230,7 @@ foreach ($loop_array as $rowcount => $where_clause) {
             if (isset($remove_blob_repo) && ! isset($upload_blob_repo)) {
                 $remove_blob_reference = $_REQUEST['remove_blob_ref_' . $key];
                 if (isset($remove_blob_reference)) {
-                    $val = "''";
+                    $val = "NULL";
                 }
             }
 


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list