Bug #6614 Doesn't compile with gcc-3.4
Submitted: 14 Nov 2004 20:09 Modified: 15 Nov 2004 22:14
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.1.1 OS:Linux (Linux/Debian)
Assigned to: Alfredo Kojima CPU Architecture:Any

[14 Nov 2004 20:09] [ name withheld ]
Description:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=280465

How to repeat:
.

Suggested fix:
diff -urN ../tmp-orig/mysql-query-browser-1.1.1/mysql-query-browser/source/linux/MQBaseModule.h ./mysql-query-browser/source/linux/MQBaseModule.h
--- ../tmp-orig/mysql-query-browser-1.1.1/mysql-query-browser/source/linux/MQBaseModule.h	2004-11-06 07:13:10.000000000 +0000
+++ ./mysql-query-browser/source/linux/MQBaseModule.h	2004-11-09 16:14:01.273373168 +0000
@@ -94,9 +94,6 @@
     
     MQMainWindowInterface *_mainw;
 
-    bool schemata_fetch_tables(const Glib::ustring &catalog,const Glib::ustring&schema,MYX_SCHEMA_TABLES *&tables);
-    bool schemata_fetch_sps(const Glib::ustring &catalog,const Glib::ustring&schema,MYX_SCHEMA_STORED_PROCEDURES *&sps);
-
     virtual void set_dispatcher(MQQueryDispatcher *dispatcher);
 
     virtual MQBaseTab *get_tab(int index=-1);
@@ -110,13 +107,15 @@
     void ok_schema_selection(Gtk::TreeView *tree);
     void cancel_schema_selection(GdkEventAny *a);
 
-    void select_schema();
-    
-    void refresh_catalogs();
     virtual void catalogs_refreshed() {};
 
     virtual Gtk::Menu *get_tab_menu()= 0;
   public:
+    bool schemata_fetch_tables(const Glib::ustring &catalog,const Glib::ustring&schema,MYX_SCHEMA_TABLES *&tables);
+    bool schemata_fetch_sps(const Glib::ustring &catalog,const Glib::ustring&schema,MYX_SCHEMA_STORED_PROCEDURES *&sps);
+    void select_schema();
+    void refresh_catalogs();
+    
     MQBaseModule(GtkVBox *vbox);
 
     Glib::RefPtr<Gtk::AccelGroup> get_accel_group() { return _accel_group; };
[14 Nov 2004 20:10] [ name withheld ]
The patch got "reformatted". I'll attach a patch in Files section now..
[14 Nov 2004 20:13] [ name withheld ]
Patch

Attachment: patch10 (application/octet-stream, text), 1.45 KiB.

[15 Nov 2004 22:14] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html