mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +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) { /* {{{ */
|
function createDump($fp) { /* {{{ */
|
||||||
$tables = $this->TableList('TABLES');
|
$tables = $this->TableList('TABLES');
|
||||||
foreach($tables as $table) {
|
foreach($tables as $table) {
|
||||||
|
if($table == 'sqlite_sequence')
|
||||||
|
continue;
|
||||||
$query = "SELECT * FROM `".$table."`";
|
$query = "SELECT * FROM `".$table."`";
|
||||||
$records = $this->getResultArray($query);
|
$records = $this->getResultArray($query);
|
||||||
fwrite($fp,"\n-- TABLE: ".$table."--\n\n");
|
fwrite($fp,"\n-- TABLE: ".$table."--\n\n");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user