sql 파일 을 불러오는 동작을 잘못 수행하는 점 해결리
This commit is contained in:
1 parent
48db8454c9
commit
91232a83eb
3 files changed
+35
-30
No files matched your search
@@ -124,9 +124,7 @@ $rootDB->error_handler = 'dbSQLFail';
|
||||
$mysqli_obj = $rootDB->get(); //로그인에 실패할 경우 자동으로 dbConnFail()이 실행됨.
|
||||
|
||||
if($mysqli_obj->multi_query(file_get_contents(__dir__.'/sql/common_schema.sql'))){
|
||||
do{
|
||||
$mysqli_obj->store_result();
|
||||
} while($mysqli_obj->next_result());
|
||||
while ($mysqli_obj->next_result()) {;}
|
||||
}
|
||||
|
||||
$rootDB->insert('system', array(
|
||||
|
||||
Reference in new issue
Block a user