Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lintest/myrulib.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKandrashin Denis <mail@lintest.ru>2010-10-25 21:28:17 +0400
committerKandrashin Denis <mail@lintest.ru>2010-10-25 21:28:17 +0400
commit848b40a7d13045df9be195eff12b4abf47eb60d2 (patch)
tree9d05159e58d8ccbc119e3896a7a7ac8b1dd6e3ca /scripts
parent678b586edc0f3ebc3ac06d6500a51096124ffa2e (diff)
small changes
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Flibusta/conv_book.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/Flibusta/conv_book.php b/scripts/Flibusta/conv_book.php
index 40b04bc7..da566887 100644
--- a/scripts/Flibusta/conv_book.php
+++ b/scripts/Flibusta/conv_book.php
@@ -308,8 +308,8 @@ function create_tables($sqlite_db, $date)
$sqlite_db->query("INSERT INTO params(id,text) VALUES (1, 'Flibusta library');");
$sqlite_db->query("INSERT INTO params(id,value) VALUES (2, 1);");
$sqlite_db->query("INSERT INTO params(id,text) VALUES (3, 'FLIBUSTA');");
- $sqlite_db->query("INSERT INTO params(id,value) VALUES (4, ".$date.");");
$sqlite_db->query("INSERT INTO params(id,text) VALUES (11,'flibusta.net');");
+ $sqlite_db->query("INSERT INTO params(id,value) VALUES (16, ".$date.");");
$sqlite_db->query("commit;");
}
@@ -375,7 +375,7 @@ function FullImport($mysql_db, $sqlitefile, $date)
convert_sequences($mysql_db, $sqlite_db, 0);
create_indexes($sqlite_db);
- $sqlite_db->query("INSERT INTO params(id,text) VALUES (5, 'FULL');");
+ $sqlite_db->query("INSERT INTO params(id,text) VALUES (15, 'FULL');");
}
function DeltaImport($mysql_db, $date)
@@ -406,7 +406,7 @@ function DeltaImport($mysql_db, $date)
sid=(SELECT MAX(SeqId) FROM libseq)
WHERE date=$date");
- $sqlite_db->query("INSERT INTO params(id,text) VALUES (5, 'DELTA');");
+ $sqlite_db->query("INSERT INTO params(id,text) VALUES (15, 'DELTA');");
}
$mysql_srvr = 'localhost';