Changeset 1947


Ignore:
Timestamp:
06/10/10 03:43:11 (3 years ago)
Author:
shibuya246
Message:

[Branch 1.4] exmysql update for multisite on UPDATE command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.4/libs/extensions/ezSQL/mysql/ez_sql_mysql.php

    r1946 r1947  
    417417            if (stripos($query, 'UPDATE ') !== false) {          
    418418                $pos1 = stripos($query, 'SET'); 
    419                 print "pos1 = " . $pos1 . "<br/>"; 
     419//              print "pos1 = " . $pos1 . "<br/>"; 
    420420                $tablename = trim(substr($query, 7, $pos1 + 1 )); 
    421421//              print ">>>>>>>>>>>>>>" . $tablename . '<<<<<<<<<<<<<<<<<<br/>'; 
     
    431431 
    432432                        $after =  "<br/><span style='color:red; font-weight:bold;'>AFTER</span>: " . $query . "<br/><br/>"; 
    433                         print $after; 
     433//                      print $after; 
    434434                } 
    435435            } 
     
    487487 
    488488 
    489             if ($after == 'no') { print $before; } 
     489            //if ($after == 'no') { print $before; } 
    490490//          print $after; 
    491491            return $query; 
Note: See TracChangeset for help on using the changeset viewer.