sqlobject-cvs Mailing List for SQLObject (Page 90)
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
(9) |
Apr
(74) |
May
(29) |
Jun
(16) |
Jul
(28) |
Aug
(10) |
Sep
(57) |
Oct
(9) |
Nov
(29) |
Dec
(12) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(7) |
Feb
(14) |
Mar
(6) |
Apr
(3) |
May
(12) |
Jun
(34) |
Jul
(9) |
Aug
(29) |
Sep
(22) |
Oct
(2) |
Nov
(15) |
Dec
(52) |
| 2005 |
Jan
(47) |
Feb
(78) |
Mar
(14) |
Apr
(35) |
May
(33) |
Jun
(16) |
Jul
(26) |
Aug
(63) |
Sep
(40) |
Oct
(96) |
Nov
(96) |
Dec
(123) |
| 2006 |
Jan
(159) |
Feb
(144) |
Mar
(64) |
Apr
(31) |
May
(88) |
Jun
(48) |
Jul
(16) |
Aug
(64) |
Sep
(87) |
Oct
(92) |
Nov
(56) |
Dec
(76) |
| 2007 |
Jan
(94) |
Feb
(103) |
Mar
(126) |
Apr
(123) |
May
(85) |
Jun
(11) |
Jul
(130) |
Aug
(47) |
Sep
(65) |
Oct
(70) |
Nov
(12) |
Dec
(11) |
| 2008 |
Jan
(30) |
Feb
(55) |
Mar
(88) |
Apr
(20) |
May
(50) |
Jun
|
Jul
(38) |
Aug
(1) |
Sep
(9) |
Oct
(5) |
Nov
(6) |
Dec
(39) |
| 2009 |
Jan
(8) |
Feb
(16) |
Mar
(3) |
Apr
(33) |
May
(44) |
Jun
(1) |
Jul
(10) |
Aug
(33) |
Sep
(74) |
Oct
(22) |
Nov
|
Dec
(15) |
| 2010 |
Jan
(28) |
Feb
(22) |
Mar
(46) |
Apr
(29) |
May
(1) |
Jun
(1) |
Jul
(27) |
Aug
(8) |
Sep
(5) |
Oct
(33) |
Nov
(24) |
Dec
(41) |
| 2011 |
Jan
(4) |
Feb
(12) |
Mar
(35) |
Apr
(29) |
May
(19) |
Jun
(16) |
Jul
(32) |
Aug
(25) |
Sep
(5) |
Oct
(11) |
Nov
(21) |
Dec
(12) |
| 2012 |
Jan
(3) |
Feb
(4) |
Mar
(20) |
Apr
(4) |
May
(25) |
Jun
(13) |
Jul
|
Aug
|
Sep
(2) |
Oct
(25) |
Nov
(9) |
Dec
(1) |
| 2013 |
Jan
(6) |
Feb
(8) |
Mar
|
Apr
(10) |
May
(31) |
Jun
(7) |
Jul
(18) |
Aug
(33) |
Sep
(4) |
Oct
(16) |
Nov
|
Dec
(27) |
| 2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
(11) |
May
(39) |
Jun
(8) |
Jul
(11) |
Aug
(4) |
Sep
|
Oct
(27) |
Nov
|
Dec
(71) |
| 2015 |
Jan
(17) |
Feb
(47) |
Mar
(33) |
Apr
|
May
|
Jun
(9) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(8) |
| 2016 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
|
May
(12) |
Jun
(7) |
Jul
(9) |
Aug
(31) |
Sep
(8) |
Oct
(3) |
Nov
(15) |
Dec
(1) |
| 2017 |
Jan
(13) |
Feb
(7) |
Mar
(14) |
Apr
(8) |
May
(10) |
Jun
(4) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(8) |
Nov
(4) |
Dec
(5) |
| 2018 |
Jan
(2) |
Feb
(8) |
Mar
|
Apr
(4) |
May
|
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2019 |
Jan
(1) |
Feb
(16) |
Mar
(1) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
(1) |
Dec
(3) |
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2021 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(1) |
Nov
(1) |
Dec
(4) |
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(4) |
Dec
|
| 2024 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(9) |
| 2025 |
Jan
|
Feb
(4) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(2) |
Dec
(2) |
|
From: <sub...@co...> - 2007-05-10 15:17:38
|
Author: phd Date: 2007-05-10 09:17:33 -0600 (Thu, 10 May 2007) New Revision: 2681 Added: SQLObject/tags/0.9.0/ Log: Tagging 0.9.0 Copied: SQLObject/tags/0.9.0 (from rev 2680, SQLObject/branches/0.9) |
|
From: <sub...@co...> - 2007-05-10 15:17:10
|
Author: phd
Date: 2007-05-10 09:17:00 -0600 (Thu, 10 May 2007)
New Revision: 2680
Modified:
SQLObject/branches/0.9/docs/News.txt
SQLObject/branches/0.9/setup.cfg
SQLObject/branches/0.9/setup.py
Log:
SQLObject 0.9.0 was released 10 May 2007.
Modified: SQLObject/branches/0.9/docs/News.txt
===================================================================
--- SQLObject/branches/0.9/docs/News.txt 2007-05-10 15:10:24 UTC (rev 2679)
+++ SQLObject/branches/0.9/docs/News.txt 2007-05-10 15:17:00 UTC (rev 2680)
@@ -10,6 +10,8 @@
SQLObject 0.9.0
===============
+Released 10 May 2007.
+
Features & Interface
--------------------
@@ -62,6 +64,16 @@
* idName can be inherited from the parent sqlmeta class.
+SQLObject 0.8.4
+===============
+
+Released 10 May 2007.
+
+Bug Fixes
+---------
+
+* A number of bugfixes forward-ported from 0.7.7.
+
SQLObject 0.8.3
===============
@@ -212,6 +224,8 @@
SQLObject 0.7.7
===============
+Released 10 May 2007.
+
Bug Fixes
---------
Modified: SQLObject/branches/0.9/setup.cfg
===================================================================
--- SQLObject/branches/0.9/setup.cfg 2007-05-10 15:10:24 UTC (rev 2679)
+++ SQLObject/branches/0.9/setup.cfg 2007-05-10 15:17:00 UTC (rev 2680)
@@ -34,6 +34,4 @@
make-dirs = 1
## For live documentation:
-# doc-dest = scp://ianbicking@shell.sf.net/home/groups/s/sq/sqlobject/htdocs/
-## For in-development documentation:
-doc-dest = scp://ianbicking@shell.sf.net/home/groups/s/sq/sqlobject/htdocs/devel/
+doc-dest = scp://ianbicking@shell.sf.net/home/groups/s/sq/sqlobject/htdocs/
Modified: SQLObject/branches/0.9/setup.py
===================================================================
--- SQLObject/branches/0.9/setup.py 2007-05-10 15:10:24 UTC (rev 2679)
+++ SQLObject/branches/0.9/setup.py 2007-05-10 15:17:00 UTC (rev 2680)
@@ -28,7 +28,7 @@
"""
setup(name="SQLObject",
- version="0.9",
+ version="0.9.0",
description="Object-Relational Manager, aka database wrapper",
long_description="""\
SQLObject is a popular *Object Relational Manager* for providing an
|
|
From: <sub...@co...> - 2007-05-10 15:10:31
|
Author: phd Date: 2007-05-10 09:10:24 -0600 (Thu, 10 May 2007) New Revision: 2679 Removed: SQLObject/tags/0.8.4/0.8/ Log: Removed erroneous copy. |
|
From: <sub...@co...> - 2007-05-10 15:08:55
|
Author: phd Date: 2007-05-10 09:08:41 -0600 (Thu, 10 May 2007) New Revision: 2678 Added: SQLObject/tags/0.8.4/0.8/ Log: Tagging 0.8.4 Copied: SQLObject/tags/0.8.4/0.8 (from rev 2677, SQLObject/branches/0.8) |
|
From: <sub...@co...> - 2007-05-10 14:59:12
|
Author: phd Date: 2007-05-10 08:59:06 -0600 (Thu, 10 May 2007) New Revision: 2677 Modified: SQLObject/tags/0.8.4/setup.cfg Log: Stable release. Modified: SQLObject/tags/0.8.4/setup.cfg =================================================================== --- SQLObject/tags/0.8.4/setup.cfg 2007-05-10 14:58:03 UTC (rev 2676) +++ SQLObject/tags/0.8.4/setup.cfg 2007-05-10 14:59:06 UTC (rev 2677) @@ -1,10 +1,6 @@ [easy_install] #find_links = http://svn.pythonpaste.org/package_index.html -[egg_info] -tag_build = dev -tag_svn_revision = true - [pudge] theme = pythonpaste.org docs = docs/index.txt docs/SQLObject.txt docs/TODO.txt |
|
From: <sub...@co...> - 2007-05-10 14:58:07
|
Author: phd Date: 2007-05-10 08:58:03 -0600 (Thu, 10 May 2007) New Revision: 2676 Added: SQLObject/tags/0.8.4/ Log: Tagging 0.8.4 Copied: SQLObject/tags/0.8.4 (from rev 2675, SQLObject/branches/0.8) |
|
From: <sub...@co...> - 2007-05-10 14:57:00
|
Author: phd
Date: 2007-05-10 08:56:56 -0600 (Thu, 10 May 2007)
New Revision: 2675
Modified:
SQLObject/branches/0.8/docs/News.txt
SQLObject/branches/0.8/setup.py
Log:
SQLObject 0.8.4 was released 10 May 2007.
Modified: SQLObject/branches/0.8/docs/News.txt
===================================================================
--- SQLObject/branches/0.8/docs/News.txt 2007-05-10 14:50:08 UTC (rev 2674)
+++ SQLObject/branches/0.8/docs/News.txt 2007-05-10 14:56:56 UTC (rev 2675)
@@ -7,6 +7,16 @@
.. _start:
+SQLObject 0.8.4
+===============
+
+Released 10 May 2007.
+
+Bug Fixes
+---------
+
+* A number of bugfixes forward-ported from 0.7.7.
+
SQLObject 0.8.3
===============
@@ -157,6 +167,8 @@
SQLObject 0.7.7
===============
+Released 10 May 2007.
+
Bug Fixes
---------
Modified: SQLObject/branches/0.8/setup.py
===================================================================
--- SQLObject/branches/0.8/setup.py 2007-05-10 14:50:08 UTC (rev 2674)
+++ SQLObject/branches/0.8/setup.py 2007-05-10 14:56:56 UTC (rev 2675)
@@ -28,7 +28,7 @@
"""
setup(name="SQLObject",
- version="0.8.3",
+ version="0.8.4",
description="Object-Relational Manager, aka database wrapper",
long_description="""\
SQLObject is a popular *Object Relational Manager* for providing an
|
|
From: <sub...@co...> - 2007-05-10 14:50:12
|
Author: phd Date: 2007-05-10 08:50:08 -0600 (Thu, 10 May 2007) New Revision: 2674 Modified: SQLObject/tags/0.7.7/setup.cfg Log: Stable release. Modified: SQLObject/tags/0.7.7/setup.cfg =================================================================== --- SQLObject/tags/0.7.7/setup.cfg 2007-05-10 14:48:18 UTC (rev 2673) +++ SQLObject/tags/0.7.7/setup.cfg 2007-05-10 14:50:08 UTC (rev 2674) @@ -1,7 +1,3 @@ -[egg_info] -tag_build = a -tag_svn_revision = true - [pudge] title = SQLObject dest = docs/html |
|
From: <sub...@co...> - 2007-05-10 14:48:22
|
Author: phd Date: 2007-05-10 08:48:18 -0600 (Thu, 10 May 2007) New Revision: 2673 Added: SQLObject/tags/0.7.7/ Log: Tagging 0.7.7 Copied: SQLObject/tags/0.7.7 (from rev 2672, SQLObject/branches/0.7) |
|
From: <sub...@co...> - 2007-05-10 14:46:28
|
Author: phd
Date: 2007-05-10 08:46:23 -0600 (Thu, 10 May 2007)
New Revision: 2672
Modified:
SQLObject/branches/0.7/docs/News.txt
SQLObject/branches/0.7/setup.py
Log:
SQLObject 0.7.7 was released 10 May 2007.
Modified: SQLObject/branches/0.7/docs/News.txt
===================================================================
--- SQLObject/branches/0.7/docs/News.txt 2007-05-10 14:28:21 UTC (rev 2671)
+++ SQLObject/branches/0.7/docs/News.txt 2007-05-10 14:46:23 UTC (rev 2672)
@@ -10,6 +10,8 @@
SQLObject 0.7.7
===============
+Released 10 May 2007.
+
Bug Fixes
---------
Modified: SQLObject/branches/0.7/setup.py
===================================================================
--- SQLObject/branches/0.7/setup.py 2007-05-10 14:28:21 UTC (rev 2671)
+++ SQLObject/branches/0.7/setup.py 2007-05-10 14:46:23 UTC (rev 2672)
@@ -19,7 +19,7 @@
DistributionMetadata.download_url = None
setup(name="SQLObject",
- version="0.7.6",
+ version="0.7.7",
description="Object-Relational Manager, aka database wrapper",
long_description="""\
SQLObject is a popular *Object Relational Manager* for providing an
@@ -52,7 +52,7 @@
author="Ian Bicking",
author_email="ia...@co...",
url="http://sqlobject.org",
- download_url="http://cheeseshop.python.org/pypi/SQLObject/0.7.6",
+ download_url="http://cheeseshop.python.org/pypi/SQLObject/0.7.7",
license="LGPL",
packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages],
scripts=["scripts/sqlobject-admin"],
|
|
From: <sub...@co...> - 2007-05-10 14:28:25
|
Author: phd Date: 2007-05-10 08:28:21 -0600 (Thu, 10 May 2007) New Revision: 2671 Modified: SQLObject/docs/News.txt Log: Fixed a bug in SQLRelatedJoin that ignored per-instance connection (by Luke Opperman). Modified: SQLObject/docs/News.txt =================================================================== --- SQLObject/docs/News.txt 2007-05-10 14:25:37 UTC (rev 2670) +++ SQLObject/docs/News.txt 2007-05-10 14:28:21 UTC (rev 2671) @@ -208,6 +208,8 @@ Bug Fixes --------- +* Fixed a bug in SQLRelatedJoin that ignored per-instance connection. + * Fixed a bug in MySQL connection in case there is no charset in the DB URI. SQLObject 0.7.6 |
|
From: <sub...@co...> - 2007-05-10 14:25:41
|
Author: phd
Date: 2007-05-10 08:25:37 -0600 (Thu, 10 May 2007)
New Revision: 2670
Modified:
SQLObject/branches/0.9/docs/News.txt
SQLObject/branches/0.9/sqlobject/joins.py
SQLObject/branches/0.9/sqlobject/tests/test_SQLMultipleJoin.py
SQLObject/branches/0.9/sqlobject/tests/test_SQLRelatedJoin.py
Log:
Fixed a bug in SQLRelatedJoin that ignored per-instance connection
(backport of the r2660).
Modified: SQLObject/branches/0.9/docs/News.txt
===================================================================
--- SQLObject/branches/0.9/docs/News.txt 2007-05-10 14:23:29 UTC (rev 2669)
+++ SQLObject/branches/0.9/docs/News.txt 2007-05-10 14:25:37 UTC (rev 2670)
@@ -215,6 +215,8 @@
Bug Fixes
---------
+* Fixed a bug in SQLRelatedJoin that ignored per-instance connection.
+
* Fixed a bug in MySQL connection in case there is no charset in the DB URI.
SQLObject 0.7.6
Modified: SQLObject/branches/0.9/sqlobject/joins.py
===================================================================
--- SQLObject/branches/0.9/sqlobject/joins.py 2007-05-10 14:23:29 UTC (rev 2669)
+++ SQLObject/branches/0.9/sqlobject/joins.py 2007-05-10 14:25:37 UTC (rev 2670)
@@ -259,6 +259,10 @@
class SOSQLRelatedJoin(SORelatedJoin):
def performJoin(self, inst):
+ if inst.sqlmeta._perConnection:
+ conn = inst._connection
+ else:
+ conn = None
results = self.otherClass.select(sqlbuilder.AND(
OtherTableToJoin(
self.otherClass.sqlmeta.table, self.otherClass.sqlmeta.idName,
@@ -269,7 +273,8 @@
self.intermediateTable, self.joinColumn
),
TableToId(self.soClass.sqlmeta.table, self.soClass.sqlmeta.idName, inst.id),
- ), clauseTables=(self.soClass.sqlmeta.table, self.otherClass.sqlmeta.table, self.intermediateTable))
+ ), clauseTables=(self.soClass.sqlmeta.table, self.otherClass.sqlmeta.table, self.intermediateTable),
+ connection=conn)
if self.orderBy is NoDefault:
self.orderBy = self.otherClass.sqlmeta.defaultOrder
return results.orderBy(self.orderBy)
Modified: SQLObject/branches/0.9/sqlobject/tests/test_SQLMultipleJoin.py
===================================================================
--- SQLObject/branches/0.9/sqlobject/tests/test_SQLMultipleJoin.py 2007-05-10 14:23:29 UTC (rev 2669)
+++ SQLObject/branches/0.9/sqlobject/tests/test_SQLMultipleJoin.py 2007-05-10 14:25:37 UTC (rev 2670)
@@ -41,3 +41,16 @@
assert trunks in hibrid.fightersAsSResult
assert picollo not in hibrid.fightersAsSResult
assert str(hibrid.fightersAsSResult.sum('power')) == '23'
+
+def test_multiple_join_transaction():
+ if not supports('transactions'):
+ return
+ createAllTables()
+ trans = Race._connection.transaction()
+ try:
+ namek=Race(name='namekuseijin', connection=trans)
+ gokou=RFighter(name='Gokou (Kakaruto)', race=namek, power=10, connection=trans)
+ assert namek.fightersAsSResult.count() == 1
+ assert namek.fightersAsSResult[0]._connection == trans
+ finally:
+ Race._connection.autoCommit = True
\ No newline at end of file
Modified: SQLObject/branches/0.9/sqlobject/tests/test_SQLRelatedJoin.py
===================================================================
--- SQLObject/branches/0.9/sqlobject/tests/test_SQLRelatedJoin.py 2007-05-10 14:23:29 UTC (rev 2669)
+++ SQLObject/branches/0.9/sqlobject/tests/test_SQLRelatedJoin.py 2007-05-10 14:25:37 UTC (rev 2670)
@@ -42,3 +42,17 @@
for i, j in zip(t1.fightersAsList, t1.fightersAsSResult):
assert i is j
assert len(t2.fightersAsList) == t2.fightersAsSResult.count()
+
+def test_related_join_transaction():
+ if not supports('transactions'):
+ return
+ createAllTables()
+ trans = Tourtment._connection.transaction()
+ try:
+ t1=Tourtment(name='Tourtment #1', connection=trans)
+ t1.addFighter(Fighter(name='Jim', connection=trans))
+ assert t1.fightersAsSResult.count() == 1
+ assert t1.fightersAsSResult[0]._connection == trans
+ finally:
+ Tourtment._connection.autoCommit = True
+
|
|
From: <sub...@co...> - 2007-05-10 14:23:33
|
Author: phd
Date: 2007-05-10 08:23:29 -0600 (Thu, 10 May 2007)
New Revision: 2669
Modified:
SQLObject/branches/0.8/docs/News.txt
SQLObject/branches/0.8/sqlobject/joins.py
SQLObject/branches/0.8/sqlobject/tests/test_SQLMultipleJoin.py
SQLObject/branches/0.8/sqlobject/tests/test_SQLRelatedJoin.py
Log:
Fixed a bug in SQLRelatedJoin that ignored per-instance connection
(backport of the r2660).
Modified: SQLObject/branches/0.8/docs/News.txt
===================================================================
--- SQLObject/branches/0.8/docs/News.txt 2007-05-10 14:19:57 UTC (rev 2668)
+++ SQLObject/branches/0.8/docs/News.txt 2007-05-10 14:23:29 UTC (rev 2669)
@@ -160,6 +160,8 @@
Bug Fixes
---------
+* Fixed a bug in SQLRelatedJoin that ignored per-instance connection.
+
* Fixed a bug in MySQL connection in case there is no charset in the DB URI.
SQLObject 0.7.6
Modified: SQLObject/branches/0.8/sqlobject/joins.py
===================================================================
--- SQLObject/branches/0.8/sqlobject/joins.py 2007-05-10 14:19:57 UTC (rev 2668)
+++ SQLObject/branches/0.8/sqlobject/joins.py 2007-05-10 14:23:29 UTC (rev 2669)
@@ -259,6 +259,10 @@
class SOSQLRelatedJoin(SORelatedJoin):
def performJoin(self, inst):
+ if inst.sqlmeta._perConnection:
+ conn = inst._connection
+ else:
+ conn = None
results = self.otherClass.select(sqlbuilder.AND(
OtherTableToJoin(
self.otherClass.sqlmeta.table, self.otherClass.sqlmeta.idName,
@@ -269,7 +273,8 @@
self.intermediateTable, self.joinColumn
),
TableToId(self.soClass.sqlmeta.table, self.soClass.sqlmeta.idName, inst.id),
- ), clauseTables=(self.soClass.sqlmeta.table, self.otherClass.sqlmeta.table, self.intermediateTable))
+ ), clauseTables=(self.soClass.sqlmeta.table, self.otherClass.sqlmeta.table, self.intermediateTable),
+ connection=conn)
if self.orderBy is NoDefault:
self.orderBy = self.otherClass.sqlmeta.defaultOrder
return results.orderBy(self.orderBy)
Modified: SQLObject/branches/0.8/sqlobject/tests/test_SQLMultipleJoin.py
===================================================================
--- SQLObject/branches/0.8/sqlobject/tests/test_SQLMultipleJoin.py 2007-05-10 14:19:57 UTC (rev 2668)
+++ SQLObject/branches/0.8/sqlobject/tests/test_SQLMultipleJoin.py 2007-05-10 14:23:29 UTC (rev 2669)
@@ -41,3 +41,16 @@
assert trunks in hibrid.fightersAsSResult
assert picollo not in hibrid.fightersAsSResult
assert str(hibrid.fightersAsSResult.sum('power')) == '23'
+
+def test_multiple_join_transaction():
+ if not supports('transactions'):
+ return
+ createAllTables()
+ trans = Race._connection.transaction()
+ try:
+ namek=Race(name='namekuseijin', connection=trans)
+ gokou=RFighter(name='Gokou (Kakaruto)', race=namek, power=10, connection=trans)
+ assert namek.fightersAsSResult.count() == 1
+ assert namek.fightersAsSResult[0]._connection == trans
+ finally:
+ Race._connection.autoCommit = True
\ No newline at end of file
Modified: SQLObject/branches/0.8/sqlobject/tests/test_SQLRelatedJoin.py
===================================================================
--- SQLObject/branches/0.8/sqlobject/tests/test_SQLRelatedJoin.py 2007-05-10 14:19:57 UTC (rev 2668)
+++ SQLObject/branches/0.8/sqlobject/tests/test_SQLRelatedJoin.py 2007-05-10 14:23:29 UTC (rev 2669)
@@ -42,3 +42,17 @@
for i, j in zip(t1.fightersAsList, t1.fightersAsSResult):
assert i is j
assert len(t2.fightersAsList) == t2.fightersAsSResult.count()
+
+def test_related_join_transaction():
+ if not supports('transactions'):
+ return
+ createAllTables()
+ trans = Tourtment._connection.transaction()
+ try:
+ t1=Tourtment(name='Tourtment #1', connection=trans)
+ t1.addFighter(Fighter(name='Jim', connection=trans))
+ assert t1.fightersAsSResult.count() == 1
+ assert t1.fightersAsSResult[0]._connection == trans
+ finally:
+ Tourtment._connection.autoCommit = True
+
|
|
From: <sub...@co...> - 2007-05-10 14:20:02
|
Author: phd
Date: 2007-05-10 08:19:57 -0600 (Thu, 10 May 2007)
New Revision: 2668
Modified:
SQLObject/branches/0.7/docs/News.txt
SQLObject/branches/0.7/sqlobject/joins.py
SQLObject/branches/0.7/sqlobject/tests/test_SQLMultipleJoin.py
SQLObject/branches/0.7/sqlobject/tests/test_SQLRelatedJoin.py
Log:
Fixed a bug in SQLRelatedJoin that ignored per-instance connection
(backport of the r2660).
Modified: SQLObject/branches/0.7/docs/News.txt
===================================================================
--- SQLObject/branches/0.7/docs/News.txt 2007-05-10 13:26:46 UTC (rev 2667)
+++ SQLObject/branches/0.7/docs/News.txt 2007-05-10 14:19:57 UTC (rev 2668)
@@ -13,6 +13,8 @@
Bug Fixes
---------
+* Fixed a bug in SQLRelatedJoin that ignored per-instance connection.
+
* Fixed a bug in MySQL connection in case there is no charset in the DB URI.
SQLObject 0.7.6
Modified: SQLObject/branches/0.7/sqlobject/joins.py
===================================================================
--- SQLObject/branches/0.7/sqlobject/joins.py 2007-05-10 13:26:46 UTC (rev 2667)
+++ SQLObject/branches/0.7/sqlobject/joins.py 2007-05-10 14:19:57 UTC (rev 2668)
@@ -257,6 +257,10 @@
class SOSQLRelatedJoin(SORelatedJoin):
def performJoin(self, inst):
+ if inst.sqlmeta._perConnection:
+ conn = inst._connection
+ else:
+ conn = None
results = self.otherClass.select(sqlbuilder.AND(
OtherTableToJoin(
self.otherClass.sqlmeta.table, self.otherClass.sqlmeta.idName,
@@ -267,7 +271,8 @@
self.intermediateTable, self.joinColumn
),
TableToId(self.soClass.sqlmeta.table, self.soClass.sqlmeta.idName, inst.id),
- ), clauseTables=(self.soClass.sqlmeta.table, self.otherClass.sqlmeta.table, self.intermediateTable))
+ ), clauseTables=(self.soClass.sqlmeta.table, self.otherClass.sqlmeta.table, self.intermediateTable),
+ connection=conn)
if self.orderBy is NoDefault:
self.orderBy = self.otherClass.sqlmeta.defaultOrder
return results.orderBy(self.orderBy)
Modified: SQLObject/branches/0.7/sqlobject/tests/test_SQLMultipleJoin.py
===================================================================
--- SQLObject/branches/0.7/sqlobject/tests/test_SQLMultipleJoin.py 2007-05-10 13:26:46 UTC (rev 2667)
+++ SQLObject/branches/0.7/sqlobject/tests/test_SQLMultipleJoin.py 2007-05-10 14:19:57 UTC (rev 2668)
@@ -41,3 +41,16 @@
assert trunks in hibrid.fightersAsSResult
assert picollo not in hibrid.fightersAsSResult
assert hibrid.fightersAsSResult.sum('power') == 23
+
+def test_multiple_join_transaction():
+ if not supports('transactions'):
+ return
+ createAllTables()
+ trans = Race._connection.transaction()
+ try:
+ namek=Race(name='namekuseijin', connection=trans)
+ gokou=RFighter(name='Gokou (Kakaruto)', race=namek, power=10, connection=trans)
+ assert namek.fightersAsSResult.count() == 1
+ assert namek.fightersAsSResult[0]._connection == trans
+ finally:
+ Race._connection.autoCommit = True
Modified: SQLObject/branches/0.7/sqlobject/tests/test_SQLRelatedJoin.py
===================================================================
--- SQLObject/branches/0.7/sqlobject/tests/test_SQLRelatedJoin.py 2007-05-10 13:26:46 UTC (rev 2667)
+++ SQLObject/branches/0.7/sqlobject/tests/test_SQLRelatedJoin.py 2007-05-10 14:19:57 UTC (rev 2668)
@@ -42,3 +42,17 @@
for i, j in zip(t1.fightersAsList, t1.fightersAsSResult):
assert i is j
assert len(t2.fightersAsList) == t2.fightersAsSResult.count()
+
+def test_related_join_transaction():
+ if not supports('transactions'):
+ return
+ createAllTables()
+ trans = Tourtment._connection.transaction()
+ try:
+ t1=Tourtment(name='Tourtment #1', connection=trans)
+ t1.addFighter(Fighter(name='Jim', connection=trans))
+ assert t1.fightersAsSResult.count() == 1
+ assert t1.fightersAsSResult[0]._connection == trans
+ finally:
+ Tourtment._connection.autoCommit = True
+
|
|
From: <sub...@co...> - 2007-05-10 13:26:51
|
Author: luke
Date: 2007-05-10 07:26:46 -0600 (Thu, 10 May 2007)
New Revision: 2667
Modified:
SQLObject/trunk/sqlobject/tests/test_SQLRelatedJoin.py
Log:
SQLite apparently won't handle modifications outside of transaction when a transaction is running.
Modified: SQLObject/trunk/sqlobject/tests/test_SQLRelatedJoin.py
===================================================================
--- SQLObject/trunk/sqlobject/tests/test_SQLRelatedJoin.py 2007-05-10 12:36:47 UTC (rev 2666)
+++ SQLObject/trunk/sqlobject/tests/test_SQLRelatedJoin.py 2007-05-10 13:26:46 UTC (rev 2667)
@@ -50,7 +50,7 @@
trans = Tourtment._connection.transaction()
try:
t1=Tourtment(name='Tourtment #1', connection=trans)
- t1.addFighter(Fighter(name='Jim'))
+ t1.addFighter(Fighter(name='Jim', connection=trans))
assert t1.fightersAsSResult.count() == 1
assert t1.fightersAsSResult[0]._connection == trans
finally:
|
|
From: <sub...@co...> - 2007-05-10 12:37:05
|
Author: phd Date: 2007-05-10 06:36:47 -0600 (Thu, 10 May 2007) New Revision: 2666 Modified: SQLObject/docs/News.txt Log: Fixed a bug in MySQL connection in case there is no charset in the DB URI. Modified: SQLObject/docs/News.txt =================================================================== --- SQLObject/docs/News.txt 2007-05-10 12:36:27 UTC (rev 2665) +++ SQLObject/docs/News.txt 2007-05-10 12:36:47 UTC (rev 2666) @@ -202,6 +202,14 @@ * Fixed aggregators and accumulators with inheritance. +SQLObject 0.7.7 +=============== + +Bug Fixes +--------- + +* Fixed a bug in MySQL connection in case there is no charset in the DB URI. + SQLObject 0.7.6 =============== |
|
From: <sub...@co...> - 2007-05-10 12:36:50
|
Author: phd
Date: 2007-05-10 06:36:27 -0600 (Thu, 10 May 2007)
New Revision: 2665
Modified:
SQLObject/trunk/sqlobject/mysql/mysqlconnection.py
Log:
Fixed a bug in MySQL connection in case there is no charset in the DB URI.
Modified: SQLObject/trunk/sqlobject/mysql/mysqlconnection.py
===================================================================
--- SQLObject/trunk/sqlobject/mysql/mysqlconnection.py 2007-05-10 12:35:52 UTC (rev 2664)
+++ SQLObject/trunk/sqlobject/mysql/mysqlconnection.py 2007-05-10 12:36:27 UTC (rev 2665)
@@ -57,13 +57,14 @@
connectionFromURI = classmethod(connectionFromURI)
def makeConnection(self):
- from MySQLdb.connections import Connection
- if not hasattr(Connection, 'set_character_set'):
- # monkeypatch pre MySQLdb 1.2.1
- encoding = self.dbEncoding
- def character_set_name(self):
- return encoding + '_' + encoding
- Connection.character_set_name = character_set_name
+ dbEncoding = self.dbEncoding
+ if dbEncoding:
+ from MySQLdb.connections import Connection
+ if not hasattr(Connection, 'set_character_set'):
+ # monkeypatch pre MySQLdb 1.2.1
+ def character_set_name(self):
+ return dbEncoding + '_' + dbEncoding
+ Connection.character_set_name = character_set_name
try:
conn = self.module.connect(host=self.host, port=self.port,
db=self.db, user=self.user, passwd=self.password, **self.kw)
@@ -78,11 +79,12 @@
if hasattr(conn, 'autocommit'):
conn.autocommit(bool(self.autoCommit))
- if hasattr(conn, 'set_character_set'): # MySQLdb 1.2.1 and later
- conn.set_character_set(self.dbEncoding)
- else: # pre MySQLdb 1.2.1
- # works along with monkeypatching code above
- conn.query("SET NAMES %s" % self.dbEncoding)
+ if self.dbEncoding:
+ if hasattr(conn, 'set_character_set'): # MySQLdb 1.2.1 and later
+ conn.set_character_set(self.dbEncoding)
+ else: # pre MySQLdb 1.2.1
+ # works along with monkeypatching code above
+ conn.query("SET NAMES %s" % self.dbEncoding)
return conn
|
|
From: <sub...@co...> - 2007-05-10 12:36:11
|
Author: phd
Date: 2007-05-10 06:35:52 -0600 (Thu, 10 May 2007)
New Revision: 2664
Modified:
SQLObject/branches/0.9/docs/News.txt
SQLObject/branches/0.9/sqlobject/mysql/mysqlconnection.py
Log:
Fixed a bug in MySQL connection in case there is no charset in the DB URI.
Modified: SQLObject/branches/0.9/docs/News.txt
===================================================================
--- SQLObject/branches/0.9/docs/News.txt 2007-05-10 12:35:26 UTC (rev 2663)
+++ SQLObject/branches/0.9/docs/News.txt 2007-05-10 12:35:52 UTC (rev 2664)
@@ -209,6 +209,14 @@
* Fixed aggregators and accumulators with inheritance.
+SQLObject 0.7.7
+===============
+
+Bug Fixes
+---------
+
+* Fixed a bug in MySQL connection in case there is no charset in the DB URI.
+
SQLObject 0.7.6
===============
Modified: SQLObject/branches/0.9/sqlobject/mysql/mysqlconnection.py
===================================================================
--- SQLObject/branches/0.9/sqlobject/mysql/mysqlconnection.py 2007-05-10 12:35:26 UTC (rev 2663)
+++ SQLObject/branches/0.9/sqlobject/mysql/mysqlconnection.py 2007-05-10 12:35:52 UTC (rev 2664)
@@ -57,13 +57,14 @@
connectionFromURI = classmethod(connectionFromURI)
def makeConnection(self):
- from MySQLdb.connections import Connection
- if not hasattr(Connection, 'set_character_set'):
- # monkeypatch pre MySQLdb 1.2.1
- encoding = self.dbEncoding
- def character_set_name(self):
- return encoding + '_' + encoding
- Connection.character_set_name = character_set_name
+ dbEncoding = self.dbEncoding
+ if dbEncoding:
+ from MySQLdb.connections import Connection
+ if not hasattr(Connection, 'set_character_set'):
+ # monkeypatch pre MySQLdb 1.2.1
+ def character_set_name(self):
+ return dbEncoding + '_' + dbEncoding
+ Connection.character_set_name = character_set_name
try:
conn = self.module.connect(host=self.host, port=self.port,
db=self.db, user=self.user, passwd=self.password, **self.kw)
@@ -78,11 +79,12 @@
if hasattr(conn, 'autocommit'):
conn.autocommit(bool(self.autoCommit))
- if hasattr(conn, 'set_character_set'): # MySQLdb 1.2.1 and later
- conn.set_character_set(self.dbEncoding)
- else: # pre MySQLdb 1.2.1
- # works along with monkeypatching code above
- conn.query("SET NAMES %s" % self.dbEncoding)
+ if self.dbEncoding:
+ if hasattr(conn, 'set_character_set'): # MySQLdb 1.2.1 and later
+ conn.set_character_set(self.dbEncoding)
+ else: # pre MySQLdb 1.2.1
+ # works along with monkeypatching code above
+ conn.query("SET NAMES %s" % self.dbEncoding)
return conn
|
|
From: <sub...@co...> - 2007-05-10 12:36:00
|
Author: phd
Date: 2007-05-10 06:35:26 -0600 (Thu, 10 May 2007)
New Revision: 2663
Modified:
SQLObject/branches/0.8/docs/News.txt
SQLObject/branches/0.8/sqlobject/mysql/mysqlconnection.py
Log:
Fixed a bug in MySQL connection in case there is no charset in the DB URI.
Modified: SQLObject/branches/0.8/docs/News.txt
===================================================================
--- SQLObject/branches/0.8/docs/News.txt 2007-05-10 12:34:41 UTC (rev 2662)
+++ SQLObject/branches/0.8/docs/News.txt 2007-05-10 12:35:26 UTC (rev 2663)
@@ -154,6 +154,14 @@
* Fixed aggregators and accumulators with inheritance.
+SQLObject 0.7.7
+===============
+
+Bug Fixes
+---------
+
+* Fixed a bug in MySQL connection in case there is no charset in the DB URI.
+
SQLObject 0.7.6
===============
Modified: SQLObject/branches/0.8/sqlobject/mysql/mysqlconnection.py
===================================================================
--- SQLObject/branches/0.8/sqlobject/mysql/mysqlconnection.py 2007-05-10 12:34:41 UTC (rev 2662)
+++ SQLObject/branches/0.8/sqlobject/mysql/mysqlconnection.py 2007-05-10 12:35:26 UTC (rev 2663)
@@ -57,13 +57,14 @@
connectionFromURI = classmethod(connectionFromURI)
def makeConnection(self):
- from MySQLdb.connections import Connection
- if not hasattr(Connection, 'set_character_set'):
- # monkeypatch pre MySQLdb 1.2.1
- encoding = self.dbEncoding
- def character_set_name(self):
- return encoding + '_' + encoding
- Connection.character_set_name = character_set_name
+ dbEncoding = self.dbEncoding
+ if dbEncoding:
+ from MySQLdb.connections import Connection
+ if not hasattr(Connection, 'set_character_set'):
+ # monkeypatch pre MySQLdb 1.2.1
+ def character_set_name(self):
+ return dbEncoding + '_' + dbEncoding
+ Connection.character_set_name = character_set_name
try:
conn = self.module.connect(host=self.host, port=self.port,
db=self.db, user=self.user, passwd=self.password, **self.kw)
@@ -78,11 +79,12 @@
if hasattr(conn, 'autocommit'):
conn.autocommit(bool(self.autoCommit))
- if hasattr(conn, 'set_character_set'): # MySQLdb 1.2.1 and later
- conn.set_character_set(self.dbEncoding)
- else: # pre MySQLdb 1.2.1
- # works along with monkeypatching code above
- conn.query("SET NAMES %s" % self.dbEncoding)
+ if self.dbEncoding:
+ if hasattr(conn, 'set_character_set'): # MySQLdb 1.2.1 and later
+ conn.set_character_set(self.dbEncoding)
+ else: # pre MySQLdb 1.2.1
+ # works along with monkeypatching code above
+ conn.query("SET NAMES %s" % self.dbEncoding)
return conn
|
|
From: <sub...@co...> - 2007-05-10 12:35:47
|
Author: phd
Date: 2007-05-10 06:34:41 -0600 (Thu, 10 May 2007)
New Revision: 2662
Modified:
SQLObject/branches/0.7/docs/News.txt
SQLObject/branches/0.7/sqlobject/mysql/mysqlconnection.py
Log:
Fixed a bug in MySQL connection in case there is no charset in the DB URI.
Modified: SQLObject/branches/0.7/docs/News.txt
===================================================================
--- SQLObject/branches/0.7/docs/News.txt 2007-05-08 22:33:34 UTC (rev 2661)
+++ SQLObject/branches/0.7/docs/News.txt 2007-05-10 12:34:41 UTC (rev 2662)
@@ -7,6 +7,14 @@
.. _start:
+SQLObject 0.7.7
+===============
+
+Bug Fixes
+---------
+
+* Fixed a bug in MySQL connection in case there is no charset in the DB URI.
+
SQLObject 0.7.6
===============
Modified: SQLObject/branches/0.7/sqlobject/mysql/mysqlconnection.py
===================================================================
--- SQLObject/branches/0.7/sqlobject/mysql/mysqlconnection.py 2007-05-08 22:33:34 UTC (rev 2661)
+++ SQLObject/branches/0.7/sqlobject/mysql/mysqlconnection.py 2007-05-10 12:34:41 UTC (rev 2662)
@@ -48,13 +48,14 @@
connectionFromURI = classmethod(connectionFromURI)
def makeConnection(self):
- from MySQLdb.connections import Connection
- if not hasattr(Connection, 'set_character_set'):
- # monkeypatch pre MySQLdb 1.2.1
- encoding = self.dbEncoding
- def character_set_name(self):
- return encoding + '_' + encoding
- Connection.character_set_name = character_set_name
+ dbEncoding = self.dbEncoding
+ if dbEncoding:
+ from MySQLdb.connections import Connection
+ if not hasattr(Connection, 'set_character_set'):
+ # monkeypatch pre MySQLdb 1.2.1
+ def character_set_name(self):
+ return dbEncoding + '_' + dbEncoding
+ Connection.character_set_name = character_set_name
try:
conn = self.module.connect(host=self.host, port=self.port,
db=self.db, user=self.user, passwd=self.password, **self.kw)
@@ -69,11 +70,12 @@
if hasattr(conn, 'autocommit'):
conn.autocommit(bool(self.autoCommit))
- if hasattr(conn, 'set_character_set'): # MySQLdb 1.2.1 and later
- conn.set_character_set(self.dbEncoding)
- else: # pre MySQLdb 1.2.1
- # works along with monkeypatching code above
- conn.query("SET NAMES %s" % self.dbEncoding)
+ if self.dbEncoding:
+ if hasattr(conn, 'set_character_set'): # MySQLdb 1.2.1 and later
+ conn.set_character_set(self.dbEncoding)
+ else: # pre MySQLdb 1.2.1
+ # works along with monkeypatching code above
+ conn.query("SET NAMES %s" % self.dbEncoding)
return conn
|
|
From: Ellen H. <ga...@cr...> - 2007-05-09 09:05:50
|
Thank you for your loan request, which we recieved yesterday.We'd like to inform you that we are accepting your application.We are ready to give you a $272,000 loan (Approved refinance) for a low month payment. Approval process will take only 1=20= minute. Please visit the confirmation link below and fill-out our short 30=20= second form. http://zgveqme.com |
|
From: <sub...@co...> - 2007-05-08 15:07:16
|
Author: luke
Date: 2007-05-08 09:07:11 -0600 (Tue, 08 May 2007)
New Revision: 2660
Modified:
SQLObject/trunk/sqlobject/joins.py
SQLObject/trunk/sqlobject/tests/test_SQLMultipleJoin.py
SQLObject/trunk/sqlobject/tests/test_SQLRelatedJoin.py
Log:
Bug in SQLRelatedJoin not respecting _perConnection
Modified: SQLObject/trunk/sqlobject/joins.py
===================================================================
--- SQLObject/trunk/sqlobject/joins.py 2007-05-06 23:56:34 UTC (rev 2659)
+++ SQLObject/trunk/sqlobject/joins.py 2007-05-08 15:07:11 UTC (rev 2660)
@@ -270,6 +270,10 @@
class SOSQLRelatedJoin(SORelatedJoin):
def performJoin(self, inst):
+ if inst.sqlmeta._perConnection:
+ conn = inst._connection
+ else:
+ conn = None
results = self.otherClass.select(sqlbuilder.AND(
OtherTableToJoin(
self.otherClass.sqlmeta.table, self.otherClass.sqlmeta.idName,
@@ -280,7 +284,8 @@
self.intermediateTable, self.joinColumn
),
TableToId(self.soClass.sqlmeta.table, self.soClass.sqlmeta.idName, inst.id),
- ), clauseTables=(self.soClass.sqlmeta.table, self.otherClass.sqlmeta.table, self.intermediateTable))
+ ), clauseTables=(self.soClass.sqlmeta.table, self.otherClass.sqlmeta.table, self.intermediateTable),
+ connection=conn)
return results.orderBy(self.orderBy)
class SQLRelatedJoin(RelatedJoin):
Modified: SQLObject/trunk/sqlobject/tests/test_SQLMultipleJoin.py
===================================================================
--- SQLObject/trunk/sqlobject/tests/test_SQLMultipleJoin.py 2007-05-06 23:56:34 UTC (rev 2659)
+++ SQLObject/trunk/sqlobject/tests/test_SQLMultipleJoin.py 2007-05-08 15:07:11 UTC (rev 2660)
@@ -41,3 +41,16 @@
assert trunks in hibrid.fightersAsSResult
assert picollo not in hibrid.fightersAsSResult
assert str(hibrid.fightersAsSResult.sum('power')) == '23'
+
+def test_multiple_join_transaction():
+ if not supports('transactions'):
+ return
+ createAllTables()
+ trans = Race._connection.transaction()
+ try:
+ namek=Race(name='namekuseijin', connection=trans)
+ gokou=RFighter(name='Gokou (Kakaruto)', race=namek, power=10, connection=trans)
+ assert namek.fightersAsSResult.count() == 1
+ assert namek.fightersAsSResult[0]._connection == trans
+ finally:
+ Race._connection.autoCommit = True
\ No newline at end of file
Modified: SQLObject/trunk/sqlobject/tests/test_SQLRelatedJoin.py
===================================================================
--- SQLObject/trunk/sqlobject/tests/test_SQLRelatedJoin.py 2007-05-06 23:56:34 UTC (rev 2659)
+++ SQLObject/trunk/sqlobject/tests/test_SQLRelatedJoin.py 2007-05-08 15:07:11 UTC (rev 2660)
@@ -42,3 +42,17 @@
for i, j in zip(t1.fightersAsList, t1.fightersAsSResult):
assert i is j
assert len(t2.fightersAsList) == t2.fightersAsSResult.count()
+
+def test_related_join_transaction():
+ if not supports('transactions'):
+ return
+ createAllTables()
+ trans = Tourtment._connection.transaction()
+ try:
+ t1=Tourtment(name='Tourtment #1', connection=trans)
+ t1.addFighter(Fighter(name='Jim'))
+ assert t1.fightersAsSResult.count() == 1
+ assert t1.fightersAsSResult[0]._connection == trans
+ finally:
+ Tourtment._connection.autoCommit = True
+
|
|
From: Burton I. C. <ik...@bo...> - 2007-05-06 10:30:03
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <img alt="undertook" src="cid:par...@bo..." height="263" width="307"><br> We are also interested in your "Manifesto" below. Dear Asbjorn Thank you for making me your official NY fan club!<br> We hereby announce the logo and poster motif to this musical 2006. See the ladies-in-waiting behind the fence.<br> This is one of the aspects we look for in our GUILD Members.<br> Lille Fejringhus Gallery Probably Northern Europe's most fascinating artist's house.<br> Secretary General Lars Seeberg has resigned as Secretary General after mutual agreement!<br> Dear Asbjorn Thank you for making me your official NY fan club! It's about concentrating my efforts on the interne<br> 2005 has until this day - 13 June 2005 - not been "a huge cultural year devoted to Andersen, both in Denmark and worldwide". Every time I go to your web site (often) I get a mega dose of art fuel!<br> In evaluating your work for its strong graphic content, we became aware of the size of the originals; they are all quite large and are acrylic on canvas. First you must install a News Reader to handle the RSS feeds. First you must install a News Reader to handle the RSS feeds. We have also visited your website and entered immediately into your world. The Native Art, the nature, Vancouver.<br> An art dealer from New York asked me to let me inspire from perception. 200 years all Danes say cheers but for heavens sake let's have a brake Other poems. This competition seeks to attract artists, galleries, museums who are redefining standards of art excellence challenging existing trends and tendencies in art and culture. I was contacted by online gallery Backyard-Art.<br> </body> </html> |
|
From: <sub...@co...> - 2007-05-03 15:23:35
|
Author: phd
Date: 2007-05-03 09:23:29 -0600 (Thu, 03 May 2007)
New Revision: 2658
Modified:
SQLObject/docs/FAQ.txt
Log:
Added a forgotten trailing '}'.
Modified: SQLObject/docs/FAQ.txt
===================================================================
--- SQLObject/docs/FAQ.txt 2007-05-03 15:22:51 UTC (rev 2657)
+++ SQLObject/docs/FAQ.txt 2007-05-03 15:23:29 UTC (rev 2658)
@@ -523,6 +523,7 @@
class SomeObject(SQLObject):
class sqlmeta:
createSQL = { 'mysql' : [
- 'ALTER TABLE some_object ENGINE InnoDB',
- '''ALTER TABLE some_object CHARACTER SET utf8
- COLLATE utf8_estonian_ci''']
+ 'ALTER TABLE some_object ENGINE InnoDB',
+ '''ALTER TABLE some_object CHARACTER SET utf8
+ COLLATE utf8_estonian_ci''']
+ }
|
|
From: <sub...@co...> - 2007-05-03 15:22:57
|
Author: phd
Date: 2007-05-03 09:22:51 -0600 (Thu, 03 May 2007)
New Revision: 2657
Modified:
SQLObject/branches/0.9/docs/FAQ.txt
Log:
Added a forgotten trailing '}'.
Modified: SQLObject/branches/0.9/docs/FAQ.txt
===================================================================
--- SQLObject/branches/0.9/docs/FAQ.txt 2007-05-03 15:22:32 UTC (rev 2656)
+++ SQLObject/branches/0.9/docs/FAQ.txt 2007-05-03 15:22:51 UTC (rev 2657)
@@ -523,6 +523,7 @@
class SomeObject(SQLObject):
class sqlmeta:
createSQL = { 'mysql' : [
- 'ALTER TABLE some_object ENGINE InnoDB',
- '''ALTER TABLE some_object CHARACTER SET utf8
- COLLATE utf8_estonian_ci''']
+ 'ALTER TABLE some_object ENGINE InnoDB',
+ '''ALTER TABLE some_object CHARACTER SET utf8
+ COLLATE utf8_estonian_ci''']
+ }
|