Commit graph

110 commits

Author SHA1 Message Date
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
mosmartin
0f61e5d499 Included some missing classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8383 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 15:31:47 +00:00
mosmartin
6e11747960 add support for insert select update and delete queries in CUBRID class
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8381 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 14:31:05 +00:00
mosmartin
7dbe0626b6 Update new xml query classes with xe 1.5
with improved query argument support and update and delete queries

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8378 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-19 13:06:56 +00:00
ovclas
b5d2e05282 merge with 1.4.5.7
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8356 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-05-06 02:42:14 +00:00
ysnglee2000
e4d9c0d3b9 큐브리드 DB 클래스 문법 조정.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8344 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-29 11:22:48 +00:00
ovclas
d4bb3ade9a #19705602 fix problem when specified column has alias
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8337 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-26 07:11:04 +00:00
mosmartin
4d272994dd english comments added
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0_english@8278 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-06 16:48:06 +00:00
taggon
620b03d184 set svn property - svn:eol-style LF
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8253 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-04-01 06:51:30 +00:00
taggon
59bf3cbb83 #19623705 DB 클래스 정리
1. DB 드라이버 생성방식 수정
2. $class_name, $class_file 이름 문자열 생성하는 부분 수정



git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8184 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-03-16 02:41:34 +00:00
ysnglee2000
c89413664e #19520097: 잘못된 참조 문법 수정.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8096 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-02-13 17:27:02 +00:00
taggon
8f3dbfd7ca #19461339 큐브리드 DB 클래스의 논리적인 오류 수정(thanks to misol)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8092 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-02-11 08:19:56 +00:00
bnu
0c88d939c0 들여쓰기 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8066 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-01-28 02:57:20 +00:00
bnu
897cc9802d groupby_query 오타수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8065 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-01-28 02:56:34 +00:00
ngleader
4b8bf1ea80 r8032 추가 보완
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8043 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-01-21 07:25:20 +00:00
ngleader
144a922954 r8032 보안
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8035 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-01-20 09:17:02 +00:00
ngleader
a3c46a1fcc #19475181 executeQuery, executeQueryArray 시 DB Table 컬럼을 지정할 수 있도록 개선
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8032 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-01-19 02:40:19 +00:00
ysnglee2000
38fd867194 #19358109: 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8006 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-12-29 09:37:01 +00:00
flourscent
16fcb530fe DBCubrid 클래스 오타 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8001 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-12-28 02:19:19 +00:00
flourscent
a83fd19de5 #19357335 에서 지적된 오타 수정.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7999 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-12-28 01:31:46 +00:00
ngleader
c1401b4254 #19286156 XML Query Between 지원
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7890 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-24 23:55:12 +00:00
ngleader
7c720fb3af r7849 rollback
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7851 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-18 02:28:45 +00:00
ngleader
176f66d88b rewrite rul에 m.layouts 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7850 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-18 02:12:21 +00:00
ysnglee2000
65dc12aa6e #19259536: DBCubrid class 들여쓰기 및 블록 개행 관련 수정.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7833 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-14 04:34:59 +00:00
ngleader
7a61a6bdb2 fixed
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7826 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-11 05:46:37 +00:00
ngleader
14d3ddc3a4 fixed
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7818 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-09 01:53:30 +00:00
haneul
44f276f996 r7808 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7810 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-05 08:32:26 +00:00
haneul
f0549e3458 fixed create index name
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7808 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-05 07:16:43 +00:00
ngleader
5238698c78 fixed cubrid class
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7797 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-05 00:33:21 +00:00