]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/log
thirdparty/sqlalchemy/sqlalchemy.git
15 years agomerged with mainline tip
Brad Allen [Fri, 26 Mar 2010 20:57:01 +0000 (14:57 -0600)] 
merged with mainline tip

15 years agomssql+mxodbc should use executedirect for all selects and execute for insert/update...
Mike Bayer [Fri, 26 Mar 2010 20:47:53 +0000 (14:47 -0600)] 
mssql+mxodbc should use executedirect for all selects and execute for insert/update/delete. To support this, an is_crud property has been added to the DefaultExecutionContext. The behavior is forcable either way per execution using execution_options(native_odbc_parameters=True|False). Some tests have been added to demonstrate usage. (patch by zzzeek committed by bradallen)

15 years ago- Using @classdecorator and similar on mixins to define
Mike Bayer [Fri, 26 Mar 2010 19:16:00 +0000 (15:16 -0400)] 
- Using @classdecorator and similar on mixins to define
__tablename__, __table_args__, etc. now works if
the method references attributes on the ultimate
subclass. [ticket:1749]

15 years agoclean up sqlite version detection stuff
Mike Bayer [Fri, 26 Mar 2010 17:48:13 +0000 (13:48 -0400)] 
clean up sqlite version detection stuff

15 years agoclarify cascade docstring, [ticket:1716]
Mike Bayer [Fri, 26 Mar 2010 17:09:17 +0000 (13:09 -0400)] 
clarify cascade docstring, [ticket:1716]

15 years agofix typo
Mike Bayer [Fri, 26 Mar 2010 16:54:13 +0000 (12:54 -0400)] 
fix typo

15 years agoadd some callcounts with cextensions, [ticket:1723]
Mike Bayer [Fri, 26 Mar 2010 16:47:01 +0000 (12:47 -0400)] 
add some callcounts with cextensions, [ticket:1723]

15 years agoclarify this test
Mike Bayer [Fri, 26 Mar 2010 16:18:21 +0000 (12:18 -0400)] 
clarify this test

15 years ago- the TIME and TIMESTAMP types are now availble from the
Mike Bayer [Fri, 26 Mar 2010 16:03:54 +0000 (12:03 -0400)] 
- the TIME and TIMESTAMP types are now availble from the
postgresql dialect directly, which add the PG-specific
argument 'precision' to both.   'precision' and
'timezone' are correctly reflected for both TIME and
TIMEZONE types. [ticket:997]

15 years agoone additional oracle fix
Mike Bayer [Fri, 26 Mar 2010 15:15:25 +0000 (11:15 -0400)] 
one additional oracle fix

15 years ago- The Oracle dialect will issue VARCHAR type definitions
Mike Bayer [Thu, 25 Mar 2010 22:26:11 +0000 (22:26 +0000)] 
- The Oracle dialect will issue VARCHAR type definitions
using character counts, i.e. VARCHAR2(50 CHAR), so that
the column is sized in terms of characters and not bytes.
Column reflection of character types will also use
ALL_TAB_COLUMNS.CHAR_LENGTH instead of
ALL_TAB_COLUMNS.DATA_LENGTH.  Both of these behaviors take
effect when the server version is 9 or higher - for
version 8, the old behaviors are used.  [ticket:1744]

15 years ago- Using a mixin won't break if the mixin implements an
Mike Bayer [Thu, 25 Mar 2010 21:25:32 +0000 (17:25 -0400)] 
- Using a mixin won't break if the mixin implements an
unpredictable __getattribute__(), i.e. Zope interfaces.
[ticket:1746]

15 years ago- The psycopg2 dialect will log NOTICE messages via the
Mike Bayer [Thu, 25 Mar 2010 21:02:50 +0000 (17:02 -0400)] 
- The psycopg2 dialect will log NOTICE messages via the
"sqlalchemy.dialects.postgresql" logger name.
[ticket:877]

15 years agoadd an exclusion for boolean col expressions
Mike Bayer [Thu, 25 Mar 2010 14:50:55 +0000 (10:50 -0400)] 
add an exclusion for boolean col expressions

15 years agothis is what I meant to do here but this should be improved
Mike Bayer [Thu, 25 Mar 2010 04:40:33 +0000 (00:40 -0400)] 
this is what I meant to do here but this should be improved

15 years agohelp test with an order by
Mike Bayer [Thu, 25 Mar 2010 04:36:17 +0000 (00:36 -0400)] 
help test with an order by

15 years agomerge tip
Mike Bayer [Thu, 25 Mar 2010 04:01:19 +0000 (00:01 -0400)] 
merge tip

15 years ago- fix some final pathing stuff, we weren't getting all the loads in the
Mike Bayer [Thu, 25 Mar 2010 03:51:49 +0000 (23:51 -0400)] 
- fix some final pathing stuff, we weren't getting all the loads in the
inheritance examples, now its improved !
- final doc pass

15 years agothis is needed for correct pathing, however some tests now fail. need tests for...
Mike Bayer [Thu, 25 Mar 2010 00:46:14 +0000 (20:46 -0400)] 
this is needed for correct pathing, however some tests now fail.  need tests for this

15 years ago- converted all lazy=True|False|None to 'select'|'joined'|'noload'
Mike Bayer [Wed, 24 Mar 2010 23:19:03 +0000 (19:19 -0400)] 
- converted all lazy=True|False|None to 'select'|'joined'|'noload'
- converted all eager to joined in examples
- fixed beaker/advanced.py to reference RelationshipCache

15 years ago- To accomodate the fact that there are now two kinds of eager
Mike Bayer [Wed, 24 Mar 2010 23:11:01 +0000 (19:11 -0400)] 
- To accomodate the fact that there are now two kinds of eager
loading available, the new names for eagerload() and
eagerload_all() are joinedload() and joinedload_all().  The
old names will remain as synonyms for the foreseeable future.

- The "lazy" flag on the relationship() function now accepts
a string argument for all kinds of loading: "select", "joined",
"subquery", "noload" and "dynamic", where the default is now
"select".  The old values of True/
False/None still retain their usual meanings and will remain
as synonyms for the foreseeable future.

- Added documentation to tutorial,mapper doc, api docs
for subqueryload, subqueryload_all, and other options.

15 years ago- made final refinements to the feature and we are 100% go on subquery loading.
Mike Bayer [Wed, 24 Mar 2010 21:54:52 +0000 (17:54 -0400)] 
- made final refinements to the feature and we are 100% go on subquery loading.
- Query.join(Cls.propname, from_joinpoint=True) will check more
carefully that "Cls" is compatible with the current joinpoint,
and act the same way as Query.join("propname", from_joinpoint=True)
in that regard.

15 years agoadd a test I'm surprised we didn't have
Mike Bayer [Wed, 24 Mar 2010 20:18:01 +0000 (16:18 -0400)] 
add a test I'm surprised we didn't have

15 years ago- removed need for _subq_aliasing workaround
Mike Bayer [Wed, 24 Mar 2010 17:55:07 +0000 (13:55 -0400)] 
- removed need for _subq_aliasing workaround
- removed cruft
- all tests pass, now ready for API adjustments ('eagerload'->'joinedload'), docs

15 years agoeverything everything passes on this one. still want to get rid of that hack tho.
Mike Bayer [Wed, 24 Mar 2010 17:19:34 +0000 (13:19 -0400)] 
everything everything passes on this one.  still want to get rid of that hack tho.

15 years agothis version works with *all* the polymorphic scenarios by putting the subquery into
Mike Bayer [Wed, 24 Mar 2010 16:46:58 +0000 (12:46 -0400)] 
this version works with *all* the polymorphic scenarios by putting the subquery into
an aliased(), so that it can be controlled.  self ref breaks now.  will move the
joining out to use orm.join().

15 years ago- Query.join() will detect if the end result will be
Mike Bayer [Wed, 24 Mar 2010 16:15:42 +0000 (12:15 -0400)] 
- Query.join() will detect if the end result will be
"FROM A JOIN A", and will raise an error if so.

15 years ago- Fixed bug introduced in 0.6beta2 where column labels would
Mike Bayer [Wed, 24 Mar 2010 00:41:40 +0000 (20:41 -0400)] 
- Fixed bug introduced in 0.6beta2 where column labels would
render inside of column expressions already assigned a label.
[ticket:1747]

15 years agothis one is unbelievable
Mike Bayer [Wed, 24 Mar 2010 00:25:06 +0000 (20:25 -0400)] 
this one is unbelievable

15 years agogetting inheritance to work. some complex cases may have to fail for the time being.
Mike Bayer [Wed, 24 Mar 2010 00:23:01 +0000 (20:23 -0400)] 
getting inheritance to work.  some complex cases may have to fail for the time being.

15 years ago- added add_columns() to Query - pending deprecates add_column()
Mike Bayer [Tue, 23 Mar 2010 22:53:42 +0000 (18:53 -0400)] 
- added add_columns() to Query - pending deprecates add_column()
- refined subquery strategy to use more public Query API

15 years agothis version actually works for all existing tests plus simple self-referential.
Mike Bayer [Tue, 23 Mar 2010 22:33:31 +0000 (18:33 -0400)] 
this version actually works for all existing tests plus simple self-referential.
I don't like how difficult it was to get Query() to do it, however.

15 years agomerge tip
Mike Bayer [Tue, 23 Mar 2010 19:01:21 +0000 (15:01 -0400)] 
merge tip

15 years ago- Fixed bug in Query whereby the usage of aliased() constructs
Mike Bayer [Tue, 23 Mar 2010 18:54:26 +0000 (14:54 -0400)] 
- Fixed bug in Query whereby the usage of aliased() constructs
would fail if the underlying table (but not the actual alias)
were referenced inside the subquery generated by
q.from_self() or q.select_from().

15 years ago- order by secondary works
Mike Bayer [Tue, 23 Mar 2010 18:02:22 +0000 (14:02 -0400)] 
- order by secondary works
- self referential is killing it, however

15 years agoadding tests, all the features present in joined eager loading
Mike Bayer [Tue, 23 Mar 2010 16:11:20 +0000 (12:11 -0400)] 
adding tests, all the features present in joined eager loading

15 years agothat was easy
Mike Bayer [Tue, 23 Mar 2010 15:14:02 +0000 (11:14 -0400)] 
that was easy

15 years agoall tests are passing. some more TODOs and more testing needed
Mike Bayer [Tue, 23 Mar 2010 01:23:31 +0000 (21:23 -0400)] 
all tests are passing.  some more TODOs and more testing needed

15 years ago- Fixed bug which affected all eagerload() and similar options
Mike Bayer [Tue, 23 Mar 2010 00:15:50 +0000 (20:15 -0400)] 
- Fixed bug which affected all eagerload() and similar options
such that "remote" eager loads, i.e. eagerloads off of a lazy
load such as query(A).options(eagerload(A.b, B.c))
wouldn't eagerload anything, but using eagerload("b.c") would
work fine.
- subquery eagerloading very close

15 years agoand here's where it gets *fun* ! so much for being easy
Mike Bayer [Mon, 22 Mar 2010 20:54:58 +0000 (16:54 -0400)] 
and here's where it gets *fun* !   so much for being easy

15 years ago- ordering tests
Mike Bayer [Mon, 22 Mar 2010 18:03:09 +0000 (14:03 -0400)] 
- ordering tests
- bring all lines in strategies.py to 78 chars

15 years ago- merge from tip
Mike Bayer [Mon, 22 Mar 2010 17:38:44 +0000 (13:38 -0400)] 
- merge from tip
- refine subq loading to use the same approach for m2m/o2m

15 years ago- Fixed bug in Query whereby calling q.join(prop).from_self(...).
Mike Bayer [Mon, 22 Mar 2010 17:16:21 +0000 (13:16 -0400)] 
- Fixed bug in Query whereby calling q.join(prop).from_self(...).
join(prop) would fail to render the second join outside the
subquery, when joining on the same criterion as was on the
inside.

15 years agoinitial subq implementation
Mike Bayer [Sun, 21 Mar 2010 22:45:54 +0000 (18:45 -0400)] 
initial subq implementation

15 years agosome apparent refactorings
Mike Bayer [Sun, 21 Mar 2010 16:58:14 +0000 (12:58 -0400)] 
some apparent refactorings

15 years agowhitespace tweaks
Brad Allen [Sun, 21 Mar 2010 04:01:12 +0000 (22:01 -0600)] 
whitespace tweaks

15 years agoFor cases when mxODBC's cursor.execute can't do the job, raise a warning and fall...
Brad Allen [Sun, 21 Mar 2010 04:00:51 +0000 (22:00 -0600)] 
For cases when mxODBC's cursor.execute can't do the job, raise a warning and fall back on cursor.executedirect which is less picky. This causes a drastic improvement in passing tests.

15 years agonow loading mxODBC exception classes into module namespace while still avoiding modul...
Brad Allen [Sun, 21 Mar 2010 03:58:32 +0000 (21:58 -0600)] 
now loading mxODBC exception classes into module namespace while still avoiding module imports (hooking into dbapi class method)

15 years agoadded comment about alternative way to get server version info
Brad Allen [Sun, 21 Mar 2010 03:36:43 +0000 (21:36 -0600)] 
added comment about alternative way to get server version info

15 years agonaturalpks JoinedInheritanceTest uses ON UPDATE cascade on self-referential keys...
Brad Allen [Sun, 21 Mar 2010 01:39:49 +0000 (19:39 -0600)] 
naturalpks JoinedInheritanceTest uses ON UPDATE cascade on self-referential keys, so should be exempted from mssql tests.

15 years agoSelfRefTest was not getting properly filtered out of mssql tests (__unsupported_on__...
Brad Allen [Sun, 21 Mar 2010 01:38:51 +0000 (19:38 -0600)] 
SelfRefTest was not getting properly filtered out of mssql tests (__unsupported_on__ value needs to be a sequence of dialect names)

15 years agotidy
Mike Bayer [Sat, 20 Mar 2010 18:55:47 +0000 (14:55 -0400)] 
tidy

15 years agoAdded tag rel_0_6beta2 for changeset 1d6d350c72c90ef31a5753419d8d55299a123997
Mike Bayer [Sat, 20 Mar 2010 18:44:11 +0000 (14:44 -0400)] 
Added tag rel_0_6beta2 for changeset 1d6d350c72c90ef31a5753419d8d55299a123997

15 years agomerge rel_0_6beta2
Mike Bayer [Sat, 20 Mar 2010 18:42:27 +0000 (14:42 -0400)] 
merge

15 years agoinclude .pngs
Mike Bayer [Sat, 20 Mar 2010 18:35:03 +0000 (14:35 -0400)] 
include .pngs

15 years agorevert the newline workaround, fix the regexp that was consuming
Mike Bayer [Sat, 20 Mar 2010 17:41:18 +0000 (13:41 -0400)] 
revert the newline workaround, fix the regexp that was consuming

15 years agohuge sphinx bug. need to put all :ref:s on a newline, or preceding :class:/:func...
Mike Bayer [Sat, 20 Mar 2010 17:21:54 +0000 (13:21 -0400)] 
huge sphinx bug.  need to put all :ref:s on a newline, or preceding :class:/:func: constructs get lost as well as all text in between.

15 years agodont need the svn_revision flag anymore
Mike Bayer [Sat, 20 Mar 2010 16:29:52 +0000 (12:29 -0400)] 
dont need the svn_revision flag anymore

15 years agofix a python 3 screwup
Mike Bayer [Sat, 20 Mar 2010 15:57:38 +0000 (11:57 -0400)] 
fix a python 3 screwup

15 years ago- pymssql now works again, expecting at least the 1.0 series.
Mike Bayer [Sat, 20 Mar 2010 15:50:39 +0000 (11:50 -0400)] 
- pymssql now works again, expecting at least the 1.0 series.

15 years agooracle cleanup
Mike Bayer [Sat, 20 Mar 2010 02:29:08 +0000 (22:29 -0400)] 
oracle cleanup

15 years agotry < 0
Mike Bayer [Sat, 20 Mar 2010 01:42:35 +0000 (21:42 -0400)] 
try < 0

15 years agojust mark this test as crashing for now
Mike Bayer [Sat, 20 Mar 2010 01:39:36 +0000 (21:39 -0400)] 
just mark this test as crashing for now

15 years agore-split PyODBCNumeric among Sybase and MS-SQL, they can't be shared.
Mike Bayer [Sat, 20 Mar 2010 01:37:42 +0000 (21:37 -0400)] 
re-split PyODBCNumeric among Sybase and MS-SQL, they can't be shared.
MS-SQL really needs the pure string approach else crashes occur on
windows.

15 years agoadded some more detail to update doc per [ticket:1346]
Mike Bayer [Sat, 20 Mar 2010 01:26:03 +0000 (21:26 -0400)] 
added some more detail to update doc per [ticket:1346]

15 years ago- Fixed bug whereby calling query(A).join(A.bs).add_entity(B)
Mike Bayer [Sat, 20 Mar 2010 01:12:29 +0000 (21:12 -0400)] 
- Fixed bug whereby calling query(A).join(A.bs).add_entity(B)
in a joined inheritance scenario would double-add B as a
target and produce an invalid query.  [ticket:1188]

15 years ago- Fixed import error which could occur reflecting tables on
Mike Bayer [Sat, 20 Mar 2010 00:20:18 +0000 (20:20 -0400)] 
- Fixed import error which could occur reflecting tables on
a Windows host [ticket:1580]

15 years agodocumented listeners arg on create_engine(), [ticket:1230]
Mike Bayer [Fri, 19 Mar 2010 22:17:52 +0000 (18:17 -0400)] 
documented listeners arg on create_engine(), [ticket:1230]

15 years ago- Added support for rendering and reflecting
Mike Bayer [Fri, 19 Mar 2010 22:10:53 +0000 (18:10 -0400)] 
- Added support for rendering and reflecting
TIMESTAMP WITH TIME ZONE, i.e. TIMESTAMP(timezone=True).
[ticket:651]

- Oracle INTERVAL type can now be reflected.

15 years agofix sqlite tests
Mike Bayer [Fri, 19 Mar 2010 21:52:34 +0000 (17:52 -0400)] 
fix sqlite tests

15 years ago- StaticPool now initializes, disposes and recreates without
Mike Bayer [Fri, 19 Mar 2010 21:51:50 +0000 (17:51 -0400)] 
- StaticPool now initializes, disposes and recreates without
opening a new connection - the connection is only opened when
first requested. dispose() also works on AssertionPool now.
[ticket:1728]

15 years agoremoved all dialect table_names() methods and standardized
Mike Bayer [Fri, 19 Mar 2010 21:37:43 +0000 (17:37 -0400)] 
removed all dialect table_names() methods and standardized
on get_table_names().  [ticket:1739]

15 years agorename test_select to test_compiler
Mike Bayer [Fri, 19 Mar 2010 19:32:17 +0000 (15:32 -0400)] 
rename test_select to test_compiler

15 years ago- join() will now simulate a NATURAL JOIN by default. Meaning,
Mike Bayer [Fri, 19 Mar 2010 19:30:48 +0000 (15:30 -0400)] 
- join() will now simulate a NATURAL JOIN by default.  Meaning,
if the left side is a join, it will attempt to join the right
side to the rightmost side of the left first, and not raise
any exceptions about ambiguous join conditions if successful
even if there are further join targets across the rest of
the left.  [ticket:1714]

15 years ago- An exception is raised when a single-table subclass specifies
Mike Bayer [Fri, 19 Mar 2010 17:23:06 +0000 (13:23 -0400)] 
- An exception is raised when a single-table subclass specifies
a column that is already present on the base class.
[ticket:1732]

15 years agobranch merge
Mike Bayer [Fri, 19 Mar 2010 17:10:40 +0000 (13:10 -0400)] 
branch merge

15 years ago- added "lockmode" kw argument to Session.refresh(), will
Mike Bayer [Fri, 19 Mar 2010 17:10:13 +0000 (13:10 -0400)] 
- added "lockmode" kw argument to Session.refresh(), will
pass through the string value to Query the same as
in with_lockmode(), will also do version check for a
version_id_col-enabled mapping.

15 years agonobody expects the insanely significant decimal
Mike Bayer [Fri, 19 Mar 2010 16:35:31 +0000 (16:35 +0000)] 
nobody expects the insanely significant decimal

15 years ago- get firebird on board
Mike Bayer [Fri, 19 Mar 2010 16:30:22 +0000 (12:30 -0400)] 
- get firebird on board
- a lot of these drivers suck at decimals, not sure what to do

15 years agomake this test slightly easier, SQLite + win32 appears to not like it otherwise
Mike Bayer [Fri, 19 Mar 2010 16:04:45 +0000 (11:04 -0500)] 
make this test slightly easier, SQLite + win32 appears to not like it otherwise

15 years agodon't seem to need bind processing for pg8000 decimals.
Mike Bayer [Fri, 19 Mar 2010 15:58:16 +0000 (11:58 -0400)] 
don't seem to need bind processing for pg8000 decimals.

15 years agostill poking at numerics
Mike Bayer [Fri, 19 Mar 2010 15:55:59 +0000 (11:55 -0400)] 
still poking at numerics

15 years agodistinguish between small, large, and many significant digits. the irony
Mike Bayer [Fri, 19 Mar 2010 15:45:42 +0000 (11:45 -0400)] 
distinguish between small, large, and many significant digits.  the irony
that oracle and sybase are the ones that have the most issues with decimal numbers.

15 years ago- the string approach appears to be necessary for large numbers, however.
Mike Bayer [Fri, 19 Mar 2010 15:35:32 +0000 (11:35 -0400)] 
- the string approach appears to be necessary for large numbers, however.
Don't know how to get large decimals through to Sybase.

15 years agoswitching Decimal treatment in MSSQL to be pyodbc specific, added
Mike Bayer [Fri, 19 Mar 2010 15:17:14 +0000 (11:17 -0400)] 
switching Decimal treatment in MSSQL to be pyodbc specific, added
to connector to share between sybase/mssql.   Going
with turning decimals with very low significant digit to floats,
seems to work so far.

15 years agosome more tests. unfortunately i cant run them here since my osx freetds/pyodbc...
Mike Bayer [Fri, 19 Mar 2010 01:28:54 +0000 (21:28 -0400)] 
some more tests.  unfortunately i cant run them here since my osx freetds/pyodbc is hosed

15 years agoMerged latest tip
Brad Allen [Thu, 18 Mar 2010 22:50:35 +0000 (16:50 -0600)] 
Merged latest tip

15 years agofixed missing return statement which caused render_literal_value to choke
Brad Allen [Thu, 18 Mar 2010 22:47:52 +0000 (16:47 -0600)] 
fixed missing return statement which caused render_literal_value to choke

15 years agosome CHANGES moving around
Mike Bayer [Thu, 18 Mar 2010 20:54:37 +0000 (16:54 -0400)] 
some CHANGES moving around

15 years agoAdded MSSQLStrictCompiler support for rendering datetime types
Brad Allen [Thu, 18 Mar 2010 20:09:04 +0000 (14:09 -0600)] 
Added MSSQLStrictCompiler support for rendering datetime types

15 years ago- normalize sybase version numbers
Mike Bayer [Thu, 18 Mar 2010 20:07:48 +0000 (16:07 -0400)] 
- normalize sybase version numbers
- sybase has 255 identifier length on 15, 30 earlier

15 years agoAdded module docstring for mssql+mxodbc dialect.
Brad Allen [Thu, 18 Mar 2010 20:06:30 +0000 (14:06 -0600)] 
Added module docstring for mssql+mxodbc dialect.

15 years agoRemoved MxNumeric and MxFloat because now the sqlalchemy.types base classes support...
Brad Allen [Thu, 18 Mar 2010 20:05:59 +0000 (14:05 -0600)] 
Removed MxNumeric and MxFloat because now the sqlalchemy.types base classes support dialects having a class attribute of "supports_native_decimal" indicating native Python Demimal support. Adjusted mssql+mxodbc to use the sqlalchemy.types base classes for Float and Numeric instead of using the base mssql dialect's numeric types.

15 years ago- oracle needs a filter for this test
Mike Bayer [Thu, 18 Mar 2010 19:47:33 +0000 (19:47 +0000)] 
- oracle needs a filter for this test
- oracle outparam test reveals usage of numeric proc with scale==None

15 years agosome weird numerictype coming back from pysybase, run through float()
Mike Bayer [Thu, 18 Mar 2010 19:44:12 +0000 (19:44 +0000)] 
some weird numerictype coming back from pysybase, run through float()

15 years agoclean up NumericTest to use a consistent one column at a time system
Mike Bayer [Thu, 18 Mar 2010 19:34:09 +0000 (15:34 -0400)] 
clean up NumericTest to use a consistent one column at a time system

15 years agoremoved mxODBC imports from the module level
Brad Allen [Thu, 18 Mar 2010 18:42:37 +0000 (12:42 -0600)] 
removed mxODBC imports from the module level

15 years agoadjustments to improve readability (indentation to complex conditional expressions...
Brad Allen [Thu, 18 Mar 2010 18:16:01 +0000 (12:16 -0600)] 
adjustments to improve readability (indentation to complex conditional expressions, excessively long lines brokenup). This is only a partial cleanup.

15 years agoHardcoded ident_seed and ident_increment query had bind markers noncompliant with...
Brad Allen [Thu, 18 Mar 2010 17:47:45 +0000 (11:47 -0600)] 
Hardcoded ident_seed and ident_increment query had bind markers noncompliant with SQL-92, which caused mxODBC failures. This was corrected by using string substitution in building the statement, and removing the bind params.

15 years agoMerged from main tip.
Brad Allen [Thu, 18 Mar 2010 17:20:45 +0000 (11:20 -0600)] 
Merged from main tip.