Commit graph

140 commits

Author SHA1 Message Date
conory
c2221a25e6 캐시가 없는 상황에서 DB 연결 에러시 DB 에러 메세지 대신 php 치명적 에러가 나오는 문제 수정
(라이믹스 오류 화면 출력시에도 DB 연결이 사용되므로 Debug::displayErrorScreen() 함수를 거치면 치명적 에러가 발생되기에 Exception로 처리하지 않았음)
라이믹스가 설치되지 않은 상태에서는 "에러 로그로 확인하라는 메세지" 없이 에러가 바로 출력되도록 수정
2019-01-17 18:26:46 +09:00
Kijin Sung
74b07cb5c4 Remove unnecessary parentheses in MySQL error handler 2018-09-03 15:48:02 +09:00
Kijin Sung
71bee10ae9 Support data types not defined in XE 2018-07-05 23:46:21 +09:00
Kijin Sung
32c9de472a Improve addColumn() and modifyColumn()
- 특정 컬럼 이후에 컬럼을 추가할 수 있도록 허용
- 모든 integer 타입의 size 속성을 무시 (tinyint 제외)
2018-07-05 22:43:53 +09:00
Kijin Sung
2cfb7585af Convert more SQL keywords to uppercase 2018-06-30 23:00:28 +09:00
Kijin Sung
0e4eec6a3f Merge all MySQL DB classes into DBMysql.class.php 2018-06-30 15:12:59 +09:00
Kijin Sung
fa2b2914f2 Add getAffectedRows() and getInsertID() to DB classes
쿼리 실행 후 affected rows, last insert ID 값을 받아올 수 있도록
DB 클래스에 관련 메소드를 추가함
2018-01-15 13:59:14 +09:00
Kijin Sung
1a81fd43f3 Convert Object class to BaseObject in core classes 2017-11-27 22:34:28 +09:00
Kijin Sung
4ee115e4f3 Improve server environment display 2017-02-22 19:49:49 +09:00
Kijin Sung
ca9a0aef25 Update autologin table with more columns 2017-02-08 16:16:31 +09:00
Kijin Sung
1873270a59 Change minimum MySQL version to 5.0.7 2016-03-22 10:53:49 +09:00
Kijin Sung
5b5c785b19 Do not simply exit on DB connection error 2016-03-20 00:32:31 +09:00
Kijin Sung
6b4d69bcc2 Remove old debug constants 2016-02-13 11:19:13 +09:00
Kijin Sung
d5a5364814 Clean up some methods in DB classes 2016-02-11 10:33:15 +09:00
Kijin Sung
a499aa0d1f Fix inconsistent capitalization of Rhymix 2016-02-08 16:31:10 +09:00
Kijin Sung
e28856bfbb Update DB classes to use new config format 2016-02-05 14:46:55 +09:00
conory
0a89dffa5a XE표기를 Rhymix로 변경 2016-01-25 18:10:15 +09:00
Kijin Sung
d3c0e94b03 Update minimal server requirements 2016-01-24 10:20:35 +09:00
Kijin Sung
17c55bb64b Fix #144 error while creating module_part_config index in utf8mb4 2016-01-22 11:46:08 +09:00
Kijin Sung
43033763f0 Be more intelligent about limiting the index size 2016-01-11 13:50:39 +09:00
Kijin Sung
4416c39fb2 Fix excessively long indexes when using utf8mb4 as default charset 2016-01-11 13:34:07 +09:00
Kijin Sung
2409448cec Keep the charset stable, only setting it at install time 2016-01-11 11:45:02 +09:00
Kijin Sung
d9a9cfe21b Implement more accurate management of the current charset 2016-01-11 11:12:02 +09:00
Kijin Sung
708fbb4f06 Add initial support for utf8mb4 in MySQL 2016-01-11 10:27:54 +09:00
CONORY
de0c54ff37 Merge pull request #3 from kijin/php7
PHP7 호환성 개선
2015-12-18 14:15:15 +09:00
Kijin Sung
6473115ed3 Fix incompatible signatures of inherited methods 2015-12-08 14:07:42 +09:00
Kijin Sung
a7ed4c56c8 Merge #1363 PHP 5 방식의 생성자 (__construct) 사용 by kijin
* pr/1363:
  ExtraItem 클래스에도 PHP 5 방식의 생성자 (__construct) 사용
  PHP 5 방식의 생성자 (__construct) 사용

Conflicts:
	classes/context/Context.class.php
2015-10-08 14:10:32 +09:00
Kijin Sung
3d70d5197e Merge #901 DB 컬럼 정보를 불러오는 기능 + DB 컬럼 속성을 변경하는 기능 by kijin
* pr/901:
  Implement modifyColumn() for Cubrid
  Implement modifyColumn() for MS SQL
  Implement modifyColumn() for MySQL
  Implement getColumnInfo() for Cubrid
  Implement getColumnInfo() for MS SQL
  Initial implementation of getColumnInfo() for MySQL
2015-10-08 14:00:14 +09:00
bnu
3522ba9933 Merge pull request #1424 from kijin/fix/no-such-version
PHP 5.4 이상에서는 magic_quotes_gpc 상태를 체크하지 않음
2015-06-03 16:46:53 +09:00
Been Kyung-yoon
9566e1ab83 Magic Hash 취약점으로 인한 무단 로그인 방지 2015-05-13 13:05:57 +09:00
Kijin Sung
7f9aee3e71 PHP 5.4 이상에서는 magic_quotes_gpc 상태를 체크하지 않음 2015-04-18 14:19:33 +09:00
Kijin Sung
15d3ba7ca1 PHP 5 방식의 생성자 (__construct) 사용 2015-04-01 11:30:04 +09:00
Eunsoo Lee
b21d6534f1 DB Column 생성 시 기본값으로 0을 지정할 수 없는 문제 해결 2015-02-14 16:21:34 +09:00
Kijin Sung
a0ab42d92d Implement modifyColumn() for MySQL 2014-08-11 12:12:39 +09:00
Kijin Sung
3335942980 Initial implementation of getColumnInfo() for MySQL 2014-08-11 14:03:46 +09:00
SMaker
f79080daae XE와 마리아DB과 호환되게 수정 2014-02-26 14:36:28 +09:00
bnu
67bd8691d1 #119 board, forum, cafe 모듈 등이 포함되어 있을 때 설치 실패하는 문제 해결. 2013-12-04 20:19:07 +09:00
ngleader
f8af9ef6ce NOISSUE, change some code for php5 2013-11-25 20:38:50 +09:00
khongchi
5693e340fe issue 3645, php5 대응, 함수 대체
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13202 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-13 01:40:53 +00:00
akasima
bce0a0b6d4 copyright add to php files
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13186 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-08 05:52:51 +00:00
ngleader
dbc18a4f99 change author
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13180 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-11-07 02:42:42 +00:00
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
e2e1f5f2c1 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.)

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@13162 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-09-25 16:14:08 +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
flyskyko
0f04bd3f92 merge changes of luminous to maserati (~r12676)
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12680 201d5d3c-b55e-5fd7-737f-ddc643e51545
2013-02-04 08:09:07 +00:00
ovclas
7e118f8533 merge from branch 1.5.3.2 (~r12279)
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@12282 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-11-22 06:41:02 +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
ucorina
fdcafe536e Issue 1431: xml query click_count error - updated code to use INCR for cubrid and basic updates for the rest
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.3.2@12020 201d5d3c-b55e-5fd7-737f-ddc643e51545
2012-10-31 10:26:49 +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