r7849 rollback

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7851 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2010-11-18 02:28:45 +00:00
parent 176f66d88b
commit 7c720fb3af
4 changed files with 4 additions and 12 deletions

View file

@ -309,7 +309,7 @@
if(!file_exists($cache_file)) return new Object(-1, 'msg_invalid_queryid');
if($source_args) $args = @clone($source_args);
$this->source_args = $args;
$output = @include($cache_file);
if( (is_a($output, 'Object') || is_subclass_of($output, 'Object')) && !$output->toBool()) return $output;

View file

@ -187,18 +187,13 @@
// 쿼리 문 실행
$result = @cubrid_execute ($this->fd, $query);
if(!$result){
debugPrint('result null: ' .$query);
debugPrint($this->source_args);
}
//if(!$result){ debugPrint('result null: ' .$query); }
// 오류 체크
if (cubrid_error_code ()) {
$code = cubrid_error_code ();
$msg = cubrid_error_msg ();
debugPrint('query error : '. $code.', msg:'. $msg .', ' .$query);
debugPrint($this->source_args);
//debugPrint('query error : '. $code.', msg:'. $msg .', ' .$query);
$this->setError ($code, $msg);
}