mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
do not dump table sqlite_sequence
This commit is contained in:
parent
8c3c49e3b5
commit
a002a23c9b
|
@ -931,7 +931,9 @@ class SeedDMS_Core_DatabaseAccess {
|
|||
*/
|
||||
function createDump($fp) { /* {{{ */
|
||||
$tables = $this->TableList('TABLES');
|
||||
foreach($tables as $table) {
|
||||
foreach($tables as $table) {
|
||||
if($table == 'sqlite_sequence')
|
||||
continue;
|
||||
$query = "SELECT * FROM `".$table."`";
|
||||
$records = $this->getResultArray($query);
|
||||
fwrite($fp,"\n-- TABLE: ".$table."--\n\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user