Menu

ThePersonal modification to meet my need.

2006-09-04
2013-05-30
  • Nobody/Anonymous

    file:function.inc.php
    Line 421 add:
    // UTF8 support
    $res=mysql_query("set CHARACTER SET utf8");
    Line 447 modify:
    // Remove view, avoid view export problem.
    $res=mysql_query("show table status where Comment != 'VIEW'");
    After
    $out.="USE `".$db."`;\n";
    add:
    // Avoid constraints check problem
                $out.="SET FOREIGN_KEY_CHECKS=0;\n";
                $out.="SET AUTOCOMMIT=0;\n";
                $out.="START TRANSACTION;";
    Before
            // an error occurred! Try to delete file and return error status
    add:
    // Avoid constraints check problem
                $out .= "\nSET FOREIGN_KEY_CHECKS=1;\n";
                $out .= "\nCOMMIT;\n";

     
    • Nobody/Anonymous

      negative, no data in the exported sql file, what's wrong with it?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.