Commit graph

137 commits

Author SHA1 Message Date
cxl
f4f61b1d6b .Core, Sql: cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@4742 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-04-03 11:32:07 +00:00
cxl
6a036c1e45 *Sql: Fixed SqlVal::As
git-svn-id: svn://ultimatepp.org/upp/trunk@4635 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-29 19:27:50 +00:00
cxl
42f9888fea Sql: Sql/SqlSession::PerThread
git-svn-id: svn://ultimatepp.org/upp/trunk@4631 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-28 09:38:17 +00:00
cxl
4791b9647e Sql: Fixed issue with quoted Null SqlId, ide: debugging code for lost config
git-svn-id: svn://ultimatepp.org/upp/trunk@4626 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-27 08:30:35 +00:00
rylek
23de0aa4f6 .Sql/SqlStatement.cpp: modified SqlSelect::AsTable to keep extra parentheses around aliased subselect in all dialects except MS-SQL
git-svn-id: svn://ultimatepp.org/upp/trunk@4620 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-24 22:45:46 +00:00
rylek
ee38cbd45b .Sql/SqlStatement.cpp: modified SqlSelect::AsTable to remove extra parentheses only in MS-SQL dialect
git-svn-id: svn://ultimatepp.org/upp/trunk@4617 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-24 22:30:28 +00:00
rylek
347762810b .Sql/SqlStatement.cpp: bug fix in SqlSelect::AsTable to suppress extra parentheses around aliased subselect
git-svn-id: svn://ultimatepp.org/upp/trunk@4612 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-24 07:26:26 +00:00
cxl
2b1b46c685 Sql: Fixed ASSERT in SqlMassInsert
git-svn-id: svn://ultimatepp.org/upp/trunk@4607 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-21 09:03:38 +00:00
cxl
d2dc19d436 Sql: Added heuristics of *JoinRef (RM #251)
git-svn-id: svn://ultimatepp.org/upp/trunk@4571 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-10 18:04:19 +00:00
cxl
9fe3e7af1a *Sql: fixed MassInsert quoted SqlId issue(s)
git-svn-id: svn://ultimatepp.org/upp/trunk@4561 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-08 15:47:09 +00:00
cxl
cdcd768907 Sql: Quoting SqlId changed to be explicit option, SqlTxt added
git-svn-id: svn://ultimatepp.org/upp/trunk@4554 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-06 09:40:21 +00:00
cxl
902fa64b26 Sql: SqlExp docs
git-svn-id: svn://ultimatepp.org/upp/trunk@4531 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-03 18:10:38 +00:00
cxl
ff686cb02e Sql: SqlId escaping now tests whether escaped Id is indeed valid SQL id, no escaping otherwise (workaround for use of SqlId('table.*') and similar)
git-svn-id: svn://ultimatepp.org/upp/trunk@4529 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-03 18:07:20 +00:00
cxl
e33ee7a3d1 Sql: SqlIds now quoted
git-svn-id: svn://ultimatepp.org/upp/trunk@4526 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-03 17:44:48 +00:00
cxl
f303a1e280 ide: Fixed config issue
git-svn-id: svn://ultimatepp.org/upp/trunk@4513 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-02 12:51:19 +00:00
cxl
46b9b4ec1f Sql: SqlSet::operator<<
git-svn-id: svn://ultimatepp.org/upp/trunk@4505 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-02-01 13:51:27 +00:00
cxl
07c87ddda1 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@4466 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-23 18:22:57 +00:00
cxl
37aa7419b4 Sql: MassInsert now has remove option
git-svn-id: svn://ultimatepp.org/upp/trunk@4443 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-19 14:39:30 +00:00
cxl
7ce76b7fa5 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@4429 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-17 14:12:20 +00:00
cxl
3908dd189c *Sql: fixed ugly typo error in *JoinRef
git-svn-id: svn://ultimatepp.org/upp/trunk@4428 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2012-01-16 16:54:09 +00:00
cxl
31c717a2ed OleDB: fixed for private Connection in Sql
git-svn-id: svn://ultimatepp.org/upp/trunk@4353 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-28 19:33:38 +00:00
cxl
dc088d6015 Sql: Sql::Attach/Detach, Connection constructor moved private (rm #222)
git-svn-id: svn://ultimatepp.org/upp/trunk@4352 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-28 19:16:46 +00:00
cxl
80aaa0f25e Sql: GetSchColumn now guaranteed to be uppercase
git-svn-id: svn://ultimatepp.org/upp/trunk@4345 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-26 10:38:19 +00:00
cxl
2d55738bf2 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@4342 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-23 16:27:36 +00:00
cxl
301b15861a .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@4336 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-22 13:09:15 +00:00
cxl
a6b59dd329 Sql: SqlSession::ThrowOnError
git-svn-id: svn://ultimatepp.org/upp/trunk@4331 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-19 19:00:39 +00:00
cxl
ad58d98f24 Sql: Sql now supports fetching ValueMap of row (Fetch or GetRowMap after Fetch)
git-svn-id: svn://ultimatepp.org/upp/trunk@4329 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-19 18:35:38 +00:00
cxl
5b58dd5b8d SqlCtrl: SqlCtrls now support automatic creation based on schema introspection
git-svn-id: svn://ultimatepp.org/upp/trunk@4312 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-16 18:15:23 +00:00
cxl
ca001afdd1 Sql: Sql0 (without session)
git-svn-id: svn://ultimatepp.org/upp/trunk@4305 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-15 10:34:35 +00:00
cxl
1d22b28a4a Sql: Sql::Attach/Detach, SetSession
git-svn-id: svn://ultimatepp.org/upp/trunk@4304 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-15 10:28:58 +00:00
cxl
ff5c789b39 Sql, SqlSession: operator= and copy constructors now private
git-svn-id: svn://ultimatepp.org/upp/trunk@4296 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-14 08:44:40 +00:00
cxl
a2a382ff86 .svn problem
git-svn-id: svn://ultimatepp.org/upp/trunk@4293 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-12 08:42:43 +00:00
cxl
988e51f30a Sql: Refactored SQL 'default app cursor', added per-thread SQL option, added secondary SQLR 'default app cursor'
git-svn-id: svn://ultimatepp.org/upp/trunk@4290 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-10 16:03:24 +00:00
cxl
fa7fe19881 .developing Sql
git-svn-id: svn://ultimatepp.org/upp/trunk@4288 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-10 11:30:08 +00:00
cxl
2a50cebd3a Crypto: removed from releases, copied to uppsrc2
git-svn-id: svn://ultimatepp.org/upp/trunk@4287 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-09 15:43:40 +00:00
cxl
4584bcbaa9 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@4285 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-09 13:08:08 +00:00
cxl
804c2cacf5 .Sql: docs
git-svn-id: svn://ultimatepp.org/upp/trunk@4284 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-09 13:07:37 +00:00
cxl
ec7cd1c7f3 .cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@4282 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-09 13:01:14 +00:00
cxl
248e626680 Sql: SqlExp optimizations
git-svn-id: svn://ultimatepp.org/upp/trunk@4279 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-09 12:42:37 +00:00
cxl
10094501aa Core: Id is now String based, Sql: SqlCol erradicated
git-svn-id: svn://ultimatepp.org/upp/trunk@4276 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-08 23:55:47 +00:00
cxl
8562dcf8ff Sql: More adjustments of sch introspection
git-svn-id: svn://ultimatepp.org/upp/trunk@4275 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-08 19:42:54 +00:00
cxl
dc72a500d9 *Sql: Fix of introspection of TYPE/END_TABLE pair
git-svn-id: svn://ultimatepp.org/upp/trunk@4274 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-08 10:24:39 +00:00
cxl
88afad6672 Sql: finalizing JoinRef and introspection
git-svn-id: svn://ultimatepp.org/upp/trunk@4269 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-07 20:21:09 +00:00
cxl
6a87dc1e46 .Sql: Fixing Joins/SqlId/SqlCol
git-svn-id: svn://ultimatepp.org/upp/trunk@4266 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-07 08:49:45 +00:00
cxl
cebc2c14a2 Sql: JoinRef (first iteration)
git-svn-id: svn://ultimatepp.org/upp/trunk@4264 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-07 07:38:09 +00:00
cxl
aa3be1b938 Core: Id optimized for MT using TLS, Sql: SqlExp: Using SqlCol for group Of
git-svn-id: svn://ultimatepp.org/upp/trunk@4256 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-06 18:49:16 +00:00
cxl
fcc6d7e3e9 Sql: SqlExp documentation now contains new Of format example
git-svn-id: svn://ultimatepp.org/upp/trunk@4230 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-02 09:35:14 +00:00
cxl
595d76c629 Sql: New 'Of' 'syntax'
git-svn-id: svn://ultimatepp.org/upp/trunk@4222 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-12-01 23:16:28 +00:00
rylek
4a214fef29 Sql: added #ifndef flagNOAPPSQL to SqlStatement::Get() dependant on SQL
git-svn-id: svn://ultimatepp.org/upp/trunk@4108 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-10-29 00:26:50 +00:00
cxl
346b011dd5 Sql: SqlStatement::Get() with SQL dialect
git-svn-id: svn://ultimatepp.org/upp/trunk@4106 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2011-10-26 13:24:50 +00:00