dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6489a
)
fixed bug in tableExists()
author
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 23 May 2004 03:38:25 +0000
(
03:38
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 23 May 2004 03:38:25 +0000
(
03:38
+0000)
includes/Database.php
patch
|
blob
|
history
diff --git
a/includes/Database.php
b/includes/Database.php
index
d846254
..
4994f74
100644
(file)
--- a/
includes/Database.php
+++ b/
includes/Database.php
@@
-334,6
+334,7
@@
class Database {
function tableExists( $table )
{
$old = $this->mIgnoreErrors;
+ $this->mIgnoreErrors = true;
$res = $this->query( "SELECT 1 FROM $table LIMIT 1" );
$this->mIgnoreErrors = $old;
if( $res ) {