projects
/
racktables
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb9d28
)
r2708 - employ unset to make further queries work
author
Denis Ovsienko
<infrastation@yandex.ru>
Fri, 8 May 2009 18:10:28 +0000
(18:10 +0000)
committer
Denis Ovsienko
<infrastation@yandex.ru>
Fri, 8 May 2009 18:10:28 +0000
(18:10 +0000)
upgrade.php
patch
|
blob
|
blame
|
history
diff --git
a/upgrade.php
b/upgrade.php
index f2d8c1440e99388aedd0b205355b0d9958b7eb8e..cdcb20618ad31173ac29bba768b0f9c1b5452e1f 100644
(file)
--- a/
upgrade.php
+++ b/
upgrade.php
@@
-215,9
+215,8
@@
CREATE TABLE `FileLink` (
$result = $dbxlink->query ("select dict_key, dict_value from Dictionary where chapter_no = 3");
while($row = $result->fetch(PDO::FETCH_NUM))
- {
$query[] = "insert into RackRow set id=${row[0]}, name='${row[1]}'";
- }
+ unset ($result);
$query[] = "delete from Dictionary where chapter_id = 3";
$query[] = "delete from Chapter where id = 3";
$query[] = "