Commit graph

58 commits

Author SHA1 Message Date
misol
616ff1e8c9 Close Connection when there is no connection value.
* If there is no $connection value, a server error message would be written on your server log.(PHP can not handle it.)
 * r13162, r13161 has some mistake(Context::close() makes memory overload at DB close. I tested for a day... T^T;;)

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13166 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-09-27 05:38:59 +00:00
misol
f70ce644ce Close Connection when there is no connection value.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13161 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-09-25 15:29:32 +00:00
flyskyko
41fdaf00c3 issue 2119. supporting php 5.4. db classes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12686 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-04 09:36:46 +00:00
ovclas
ee9096be03 issue 2662 DB class coding convetion
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12212 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-14 06:10:12 +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
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
ucorina
563774c2d2 Issue 1778: DB Classes: Add prepared statements support - Added new config option in db.config.php to decide if prepared statments should be used or not. Default is Yes.
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10474 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-03-26 11:41:59 +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
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
ngleader
9f71a6cf1a r8045 보완
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8055 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-01-25 05:45:19 +00:00
ngleader
a3a7cd95ba #19480921 DBMysql* class 정리
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8045 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-01-21 09:07:40 +00:00
ovclas
b89df2e341 r8032 보완 if의 i 없는 오타 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8040 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-01-21 02:47:25 +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
fdab40757a r8032 누락추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@8034 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-01-20 06:21:14 +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
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
6cec56771b r7760 Mysqli Mysql_innodb 수정 보안
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7763 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-10-18 02:17:39 +00:00
ngleader
1fa2e99408 #19008530 mysql 컬럼 및 인덱스에 (`) 구분자 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7692 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-09-27 01:35:37 +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
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
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
haneul
0f8411107b #18864649 : fixed the problem ignoring float variable
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7457 201d5d3c-b55e-5fd7-737f-ddc643e51545
2010-05-14 06:28:41 +00:00
ngleader
c59adbb7d3 #18427758 DB 접속후 password 암호화
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6917 201d5d3c-b55e-5fd7-737f-ddc643e51545
2009-11-11 01:47:05 +00:00
ngleader
1004aebd05 click count for all database types
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6827 201d5d3c-b55e-5fd7-737f-ddc643e51545
2009-10-08 04:07:53 +00:00
zero
97e68f7dbe MySQL의 mysql_insert_id()에 $this->fd를 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6402 201d5d3c-b55e-5fd7-737f-ddc643e51545
2009-05-25 22:13:03 +00:00
zero
d8d1854e71 group by 절에 대응하도록 _getNavigationData() 함수 수정
by mooo 님


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6194 201d5d3c-b55e-5fd7-737f-ddc643e51545
2009-04-24 07:37:33 +00:00
haneul
021c012673 #17316315 : added float to data type
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5996 201d5d3c-b55e-5fd7-737f-ddc643e51545
2009-03-30 08:16:43 +00:00
ngleader
61851f1dfe css 및 js 호출순서 조정기능 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5785 201d5d3c-b55e-5fd7-737f-ddc643e51545
2009-03-06 05:33:56 +00:00
ngleader
9a029e0f8d left/right outer join 지원 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5199 201d5d3c-b55e-5fd7-737f-ddc643e51545
2009-01-02 06:47:42 +00:00
zero
9ac6a5a64d MySQL에서 index 검색시 하나의 인덱스만 있을때 오류가 나는 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5100 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-12-17 02:59:38 +00:00
zero
f2e59ee019 기본 코드 내에서 제로보드라는 명칭을 제거
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4908 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-11-19 09:11:11 +00:00
zero
e745b70268 virtual site + homepage package 추가. 아직 미완성 버전이므로 서비스 반영하지 말아주세요. 테스트중
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4871 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-11-17 10:45:57 +00:00
bnu
357807a2f3 17373170 * 쿼리 조건 값이 string, integer 일 경우만 조건을 설정하도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4629 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-10-16 13:59:15 +00:00
zero
8e9937a05b git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4626 201d5d3c-b55e-5fd7-737f-ddc643e51545 2008-10-16 01:54:17 +00:00
haneul
59c72699d4 issue:17149595
PHP6에서 magic_quotes_gpc 함수 사용안하도록 수정 


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4472 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-08-29 06:25:19 +00:00
bnu
7dc9672a92 17210051 r4466에 타입체크
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4467 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-08-26 00:53:18 +00:00
bnu
6745883074 17210051 r4455로 인한 쿼리 문제 임시 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4466 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-08-26 00:49:14 +00:00
haneul
2d67475648 http://www.zeroboard.com/xe_issuetracker/17198877
!$value 대신 !isset($value)로 바꾸어서 처리
각 디비별로 정상적으로 동작하는 지 확인 필요.


git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4455 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-08-24 17:19:09 +00:00
zero
ea2fede30e #472 세션을 파일기반이 아닌 DB기반으로 사용하도록 변경하고 접속자 출력 위젯 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4290 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-06-18 06:56:29 +00:00
zero
434395cf4b 설치시 db port가 제대로 설정되지 않는 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3720 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-02-19 15:54:18 +00:00
zero
edf336668c 1. DB의 테이블명과 alias의 배열 위치를 변경하여 한 쿼리에서 하나의 테이블을 여러번 alias하여 사용할 수 있도록 수정. 2. 네비게이션을 위한 count(*) 구할때 파일로 캐싱기능을 두어서 DB부하를 줄이고 속도 증가 3. DB.class.php파일의 변경시점을 xml query cache file에 적용하여 코어코드 변경시 xml query cache 파일이 재생성 되도록 수정 4. 전체 캐시파일 재생성시 카운터 캐시 파일 디렉토리(./files/cache/db)의 내용도 지우도록 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3715 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-02-19 13:28:29 +00:00
zero
d0696e472c MySQL Innodb에서 transaction start 변수 설정이 빠진 문제 수정. by vhain님
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3627 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-01-31 09:48:15 +00:00
zero
539c32082e 페이징을 할 경우 DB class에서 navigation을 처리하도록 변경
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3154 201d5d3c-b55e-5fd7-737f-ddc643e51545
2007-12-04 08:26:15 +00:00
zero
637e953a34 join query사용시에 value에 . 이 있을 경우 query fail이 나는 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2934 201d5d3c-b55e-5fd7-737f-ddc643e51545
2007-11-06 03:54:16 +00:00
zero
90aa62a6ac 위젯 검출 정규 표현식을 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2892 201d5d3c-b55e-5fd7-737f-ddc643e51545
2007-11-01 10:28:42 +00:00
zero
a201d8bf00 mysql 사용시 old_password, password에 대해서 제대로 처리되도록 코드 수정 (제로보드4에서 이전시 적용되는 부분)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2704 201d5d3c-b55e-5fd7-737f-ddc643e51545
2007-10-09 08:17:08 +00:00
zero
0e59d2c915 getNextSequence()에서 sequence값을 정리하는 부분의 오타로 인한 매번 sequence 정리하는 루틴 발생하는 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2517 201d5d3c-b55e-5fd7-737f-ddc643e51545
2007-09-05 03:20:35 +00:00