Commit graph

146 commits

Author SHA1 Message Date
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
ysnglee2000
52b105688f ㄱ7788 추가 보완.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7796 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-04 15:33:38 +00:00
ysnglee2000
ac03cf64d5 r7788 보완.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7795 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-04 15:30:23 +00:00
ngleader
e7c2b1b64d fixed cubrid
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7791 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-04 07:47:18 +00:00
ngleader
0a80f11235 r7788 보완
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7789 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-04 06:41:01 +00:00
ngleader
4e0cc19d2b Cubrid list_order 적용
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7788 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-11-04 06:06:32 +00:00
ysnglee2000
02e58186d4 DBCubrid 클래스 코드 정리.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7768 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-10-20 13:20:15 +00:00
ysnglee2000
42219e6c2d #19197635: 처리.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7755 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-10-12 13:54:31 +00:00
ysnglee2000
00637f5ad9 #19197635: DBCubrid의 테이블 생성 메소드가 text 타입 필드에 대해 default 값을 문자열 형식으로 처리하지 않는 문제점 수정.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7754 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-10-11 15:21:49 +00:00
ngleader
8595952528 r7619 추가 count(*) 쿼리에 query_id 주석 포함
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7683 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-09-13 03:02:31 +00:00
ChanMyeong
8f385a592b Author name update.
NHN
developers@xpressengine.com
http://xpressengine.com/

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7676 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-09-06 06:35:20 +00:00
ysnglee2000
79ee5e066c #19052585#19045610 의 r7621 에서 논리 연산 오류 수정.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7624 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-08-03 15:47:19 +00:00
haneul
fb538bb2e1 #19052585 : fixed the problem that default value is not set when it is 0
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7622 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-08-03 05:45:06 +00:00
ysnglee2000
d3a70e65aa #19045610: default에 주어지는 변수 내용이 숫자인 경우라도 컬럼 타입이 char 또는 varchar인 경우 ALTER시 작은 따음표로 싸도록 수정.(보고된 이슈와 직접적 관련은 없으나 본 이슈 검토중 버그 발견하여 수정.)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7621 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-08-02 10:28:14 +00:00
ngleader
33fd2bccdf #19045532 데이타베이스에서 쿼리 디버깅을 위한 XML Query ID 주석 삽입
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7619 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-07-30 07:27:37 +00:00