[otrs-cvs] Support/Kernel/System/Support/Database mysql.pm, 1.35, 1.36

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/Support/Kernel/System/Support/Database
In directory lancelot:/tmp/cvs-serv15646/Kernel/System/Support/Database

Modified Files:
	mysql.pm 
Log Message:
Fixed wrong tables with different engine detection.

Author: cr

Index: mysql.pm
===================================================================
RCS file: /home/cvs/Support/Kernel/System/Support/Database/mysql.pm,v
retrieving revision 1.35
retrieving revision 1.36
diff -2 -u -d -r1.35 -r1.36
--- mysql.pm	23 Jan 2013 09:23:07 -0000	1.35
+++ mysql.pm	23 Jan 2013 16:38:27 -0000	1.36
@@ -368,5 +368,5 @@
     my $Check   = 'OK';
     my $Comment = $Self->{LanguageObject}->Get('No tables found with different storage engine.');
-    $Self->{DBObject}->Prepare( SQL => "show variables where variable_name != 'storage_engine'" );
+    $Self->{DBObject}->Prepare( SQL => "show variables where variable_name = 'storage_engine'" );
     my $StorageEngine;
     while ( my @Row = $Self->{DBObject}->FetchrowArray() ) {
@@ -375,5 +375,5 @@
 
     $Self->{DBObject}->Prepare(
-        SQL  => "show table status where engine = ?",
+        SQL  => "show table status where engine != ?",
         Bind => [ \$StorageEngine ],
     );
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.