summaryrefslogtreecommitdiff
path: root/security/sguil-server/files/patch-lib-SguildMysqlMerge.tcl
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-02-18 01:01:11 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-02-18 01:01:11 +0000
commit262e62789bd9f56bfc20b950e7313f036aa38eee (patch)
treec2140ae935c9d6db9a82afd1b4509cf23f360954 /security/sguil-server/files/patch-lib-SguildMysqlMerge.tcl
parent- Update to 0.8.0 (diff)
- Update to 0.8.0
- Optionng - Trim header PR: 174591 Submitted by: maintainer
Diffstat (limited to 'security/sguil-server/files/patch-lib-SguildMysqlMerge.tcl')
-rw-r--r--security/sguil-server/files/patch-lib-SguildMysqlMerge.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/security/sguil-server/files/patch-lib-SguildMysqlMerge.tcl b/security/sguil-server/files/patch-lib-SguildMysqlMerge.tcl
index ca520d03eaf4..1ff8443d25c2 100644
--- a/security/sguil-server/files/patch-lib-SguildMysqlMerge.tcl
+++ b/security/sguil-server/files/patch-lib-SguildMysqlMerge.tcl
@@ -1,11 +1,11 @@
---- lib/SguildMysqlMerge.tcl.bak 2009-07-06 14:53:27.000000000 -0500
-+++ lib/SguildMysqlMerge.tcl 2009-07-06 14:54:26.000000000 -0500
+--- lib/SguildMysqlMerge.tcl.orig 2012-10-12 21:18:22.000000000 +0000
++++ lib/SguildMysqlMerge.tcl 2012-10-12 21:19:41.000000000 +0000
@@ -9,7 +9,7 @@
set tmpQry "SHOW TABLE STATUS LIKE '$tableName'"
set tableStatus [mysqlsel $MAIN_DB_SOCKETID $tmpQry -flatlist]
-- if { $tableStatus != "" && [lindex $tableStatus 1] != "MRG_MyISAM" } {
-+ if { $tableStatus != "" && [lindex $tableStatus 1] != "MRG_MYISAM" } {
+- if { $tableStatus != "" && ![ string equal -nocase [lindex $tableStatus 1] "MRG_MyISAM" ] } {
++ if { $tableStatus != "" && ![ string equal -nocase [lindex $tableStatus 1] "MRG_MYISAM" ] } {
# Non MERGE table found.
set errorMsg "\n*************************************************************\n