Commit graph

138 commits

Author SHA1 Message Date
ovclas
e63d71738b issue 2662 DB class coding convetion
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12147 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-08 00:31:35 +00:00
florinutz
7715110097 Issue 2544: Show error on wrong update query
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11570 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-09-29 11:14:48 +00:00
ovclas
4b2e7f76f1 issue 2237 remove auto create DB object
DB object should created by create method


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11027 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-16 02:09:14 +00:00
ucorina
f1b8aef579 Issue 2230: On delete duplicate indexes (CUBRID), delete the index that was created using prefix
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@11019 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-09 15:12:45 +00:00
ucorina
06b6b112f1 Issue 2223: Invalid table name error is not caught by DB Cubrid class
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@10996 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-07 14:35:46 +00:00
ucorina
dda83afd72 Issue 2221: Add query info to update and delete queries (CUBRID)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@10994 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-08-07 14:10:52 +00:00
ovclas
c65e9d3071 adds comments for phpDoc
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10739 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-25 10:14:48 +00:00
ovclas
f7330acf02 reverse merge from 1.6.0 (r10668, r10667, r10600, r10596, r10595, r10594, r10578, r10572)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10717 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 06:27:55 +00:00
ovclas
a4b3a914a5 reverse merge from 1.6.0 (r10563)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10716 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 06:12:20 +00:00
ovclas
3afad81016 reverse merge rollback
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10714 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 02:38:33 +00:00
ovclas
e3685a7bd8 reverse merge error fix (r10600 with r10563)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10713 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 01:22:41 +00:00
ovclas
f0aa085c94 reverse merge from 1.6.0 (r10563)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10711 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-17 00:57:29 +00:00
ovclas
6a809f1ce7 reverse merge from 1.6.0 (r10600)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10685 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-16 07:21:17 +00:00
ucorina
d9edd9b205 Issue 1891: groupby bug
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10648 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-05-02 14:48:41 +00:00
ucorina
018b29f09f Issue 1965: Delete legacy CUBRID indexes (on recreate cache).
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10646 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-04-30 19:12:26 +00:00
ucorina
0667704d6f Issue 1890 - Board list index numbers are scrambled
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10559 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-04-12 22:30:10 +00:00
ucorina
1bc92129b0 Issue 1851: Fix PHP Warnings and notices in DB Classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10537 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-04-06 09:47:45 +00:00
ucorina
c2df2f3a45 Issue 1819: CUBRID prepare statement error
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10525 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-04-02 15:36:50 +00:00
ucorina
b1b0bad554 Issue 1793: Cannot delete page module instance - Updated CUBRID class autocommit
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10510 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-30 13:54:49 +00:00
ucorina
4065581cb3 Issue 1778: DB Classes: Add prepared statements support - Added CUBRID first version
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10490 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-28 14:51:30 +00:00
ucorina
99d1d71ef3 Issue 1793 - Cannot delete page module instance
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10485 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-27 13:58:50 +00:00
ngleader
41e828e8b5 Issue 1634:change to return empty array() from return null on returned data of query result.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10386 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-08 05:36:36 +00:00
ngleader
4a487ba772 r10347 add missing return code
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10380 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-08 01:21:47 +00:00
ucorina
558df676d9 Issue 1597: XML query에서 page 값
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10347 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-06 11:22:57 +00:00
ucorina
2ceea18a77 Added support for CUBRID 8.4.1. "RLIKE" statement.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10070 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-02-02 18:22:07 +00:00
ucorina
9da60d48a0 Updated Cubrid class comments to test svn pre-commit hook.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10008 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-01-03 11:12:32 +00:00
ucorina
d7a4598a96 Fix for cubrid - bug introduced in r9737 and fix for updateLayout - extra_vars attribute appears twice.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9762 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-26 10:18:52 +00:00
ucorina
0c5f501692 Issue 667: 게시판 목록 가져오는 쿼리의 검토 필요
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9737 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-25 16:11:24 +00:00
lickawtl
0b8949cfeb add index hint of using "where" syntax
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9471 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-10-03 17:28:53 +00:00
ucorina
de8301ccbc issue 173 - php4 parse error
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9243 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-20 12:31:50 +00:00
ucorina
bb95345fb2 Updated DB classes to support multiple database connection strings - for when replication is used.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8808 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-18 17:55:29 +00:00
lickawtl
aa694bce26 fix pagination
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8767 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-12 14:17:00 +00:00
ucorina
f3c3adc5d4 Removed a few redundant TODOs in code.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8710 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-08-01 14:53:12 +00:00
lickawtl
18d0add0f9 fix pagination
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8704 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-29 16:18:06 +00:00
ucorina
abf5a1f5a3 Fix - read table prefix from db_config file instead of always using default "xe_".
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8700 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-29 07:51:15 +00:00
ucorina
c9203dc356 Merged 1.5.0-DB branch into 1.5.0 - added new DB classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8697 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-28 15:14:38 +00:00
ucorina
9606e263e8 Added classes for testing db queries directly on a test database. Fixed a few insert bugs.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8600 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-14 17:00:16 +00:00
flyskyko
61e00415d6 issue 77 Remove PHP 5.3.x deprecated features
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8599 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-14 08:18:04 +00:00
ucorina
54ef159878 Added support for addQuotes - escpaes special charcters in query arguments.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8585 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-07-08 15:10:42 +00:00
lickawtl
5d1eb1c21e new DBClasses for SQLite3 and Firebird databases.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8555 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-30 15:01:45 +00:00
lickawtl
32fe8750e9 bug-fix pagination Limit
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8510 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-20 09:25:58 +00:00
ucorina
69bca759f6 Fix for DELETE statement. MySql class refactoring to use new DBClasses.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8449 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-03 14:50:12 +00:00
ucorina
9ef9069ba2 Started work on MySql class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8443 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 18:33:50 +00:00
ucorina
2e122219f1 DBCubrid class: removed duplicate fetch code from pagination, updates to update, delete, insert queries.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8442 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 17:36:31 +00:00
ucorina
d51e931527 Updated DBCubrid pagination to use new Query class.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8439 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 13:19:36 +00:00
ucorina
0cd318fcf5 Removed legacy methods from DB and DBCubrid classes.
Added Query object to hold together query parts. 
Updated structure of query cache file to return Query object. 
Added support for array query arguments - used in the IN clause.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8438 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-02 13:06:08 +00:00
lickawtl
23e991bec0 Bug fixes:
DBCubrid.class.php - remove "WHERE" clause when all conditions are empty
queryargument/QueryArgument.class.php and queryargument/validator/QueryArgumentValidator.class.php - this is for backwords compatibility - there are many xml files that have variable names (var) given with "."
table/TableTag.class.php - autocomplete default table name alias with table name.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8426 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-06-01 12:51:13 +00:00
mosmartin
0b78e26357 Fix condition/ConditionGroup.class.php when all conditions have no value.
Add page navigation mechanism.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8399 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-27 11:39:45 +00:00
mosmartin
750733936b add "limit" navigation control to xml query and db classes
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8395 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-25 11:32:54 +00:00
mosmartin
d3067703a4 Fixed join condidition bug: if the user specifies the "pipe" attribute of a condition in a join cause, it should be ignored (otherwise the sql string is like INNER JOIN ... ON AND a = b). Fixed order by bug.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8387 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-20 12:24:50 +00:00