This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "SQLObject development repository".
The branch, master has been updated
via 49943d5539d0424811f772ffc81a8cdc1902e252 (commit)
via 122ee634dcd55e0f01d7f812ce93d2a9766e983e (commit)
via 902d632099a25f0ed9a2c0b08fc2f65fa37d21c9 (commit)
from 78dcedd293b3a41b69657a9ab5590cad657b24a1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/49943d5539d0424811f772ffc81a8cdc1902e252
commit 49943d5539d0424811f772ffc81a8cdc1902e252
Author: Oleg Broytman <ph...@ph...>
Date: Mon Oct 24 14:14:39 2016 +0300
Update news
Dropped table name from ``VACUUM`` command in SQLiteConnection.
[skip ci]
diff --git a/docs/News.rst b/docs/News.rst
index 32c2a7d..7804d70 100644
--- a/docs/News.rst
+++ b/docs/News.rst
@@ -10,6 +10,13 @@ News
SQLObject 3.2.0 (master)
========================
+Minor features
+--------------
+
+* Dropped table name from ``VACUUM`` command in SQLiteConnection:
+ SQLite doesn't vacuum a single table and SQLite 3.15 uses the supplied name
+ as the name of the attached database to vacuum.
+
Documentation
-------------
http://sourceforge.net/p/sqlobject/sqlobject/ci/122ee634dcd55e0f01d7f812ce93d2a9766e983e
commit 122ee634dcd55e0f01d7f812ce93d2a9766e983e
Merge: 78dcedd 902d632
Author: Oleg Broytman <ph...@ph...>
Date: Mon Oct 24 15:08:18 2016 +0400
Merge pull request #129 from drnlm/bugs/fix_issue_128_sqlite_3.15
Fix issue #128 (SQLite 3.15 breakage) by dropping the table name from the call
http://sourceforge.net/p/sqlobject/sqlobject/ci/902d632099a25f0ed9a2c0b08fc2f65fa37d21c9
commit 902d632099a25f0ed9a2c0b08fc2f65fa37d21c9
Author: Neil <drn...@gm...>
Date: Mon Oct 24 12:22:42 2016 +0200
Fix issue 128 by dropping the table name from the call
SQLite 3.15 treats the parameter to VACUUM as a schema name,
not the table name. Dropping the parameter matches the
behaviour on older versions, which simply ignored the parameter.
diff --git a/sqlobject/sqlite/sqliteconnection.py b/sqlobject/sqlite/sqliteconnection.py
index a0c347b..70fae63 100644
--- a/sqlobject/sqlite/sqliteconnection.py
+++ b/sqlobject/sqlite/sqliteconnection.py
@@ -310,7 +310,7 @@ class SQLiteConnection(DBAPI):
self.query('ALTER TABLE %s ADD COLUMN %s' %
(tableName,
column.sqliteCreateSQL()))
- self.query('VACUUM %s' % tableName)
+ self.query('VACUUM')
def delColumn(self, sqlmeta, column):
self.recreateTableWithoutColumn(sqlmeta, column)
-----------------------------------------------------------------------
Summary of changes:
docs/News.rst | 7 +++++++
sqlobject/sqlite/sqliteconnection.py | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
hooks/post-receive
--
SQLObject development repository
|