diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-03 18:54:20 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-09-03 18:54:20 +0000 |
commit | c98c9d738faac2bbd016b36142a931888b232f84 (patch) | |
tree | d7ce6abb53038943372e6e925bcb8a0b7519f984 /databases/mysql-gui/files/patch-main.cc | |
parent | Allow to build libcrypto.so.2 for 4.0, 4,1 and 4.2 RELEASE (diff) |
Add mysql-gui, a graphical SQL client for MySQL.
PR: ports/29862
Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
Notes
Notes:
svn path=/head/; revision=47393
Diffstat (limited to '')
-rw-r--r-- | databases/mysql-gui/files/patch-main.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/mysql-gui/files/patch-main.cc b/databases/mysql-gui/files/patch-main.cc new file mode 100644 index 000000000000..5469c1db5ca6 --- /dev/null +++ b/databases/mysql-gui/files/patch-main.cc @@ -0,0 +1,20 @@ +--- main.cc.orig Sat Aug 18 18:18:16 2001 ++++ main.cc Sat Aug 18 09:57:03 2001 +@@ -461,7 +461,7 @@ + } + + static void if_conn (void) { +- unsigned int j = 0, counter = 0; c_info=con->clinet_info(); s_info=con->server_info(); ++ unsigned int j = 0, counter = 0; c_info=con->client_info(); s_info=con->server_info(); + try { + Query query = con->query(); if (ldb) {ddd=(string)ldb; ldb=(char*)ddd.c_str();} + query << "show databases"; +@@ -526,7 +526,7 @@ + tables.insert(tables.end(),xx); + } + qSortHelp (0, (size_t) tables.size(), Fcmp, Exchange); +- ldb = (char *)databases[j].c_str(); c_info=con->clinet_info(); s_info=con->server_info(); ++ ldb = (char *)databases[j].c_str(); c_info=con->client_info(); s_info=con->server_info(); + b_connect->set(); down_group->activate(); query_browser->activate(); + if (databases.size()) choice_db->activate(); choice_db->redraw(); + ; if (query_menus) hier->activate(); |