head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.20 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.18 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.16 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.14 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.6.0.12 pkgsrc-2009Q4-base:1.6 pkgsrc-2008Q4:1.6.0.10 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.6.0.8 pkgsrc-2008Q3-base:1.6 cube-native-xorg:1.6.0.6 cube-native-xorg-base:1.6 pkgsrc-2008Q2:1.6.0.4 pkgsrc-2008Q2-base:1.6 pkgsrc-2008Q1:1.6.0.2 pkgsrc-2008Q1-base:1.6 pkgsrc-2007Q4:1.5.0.2 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.4.0.22 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.20 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.18 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.16 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.14 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.12 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.10 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.8 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.2.0.14 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.12 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.10 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.8 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.6 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 netbsd-1-6:1.2.0.4 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2008.02.14.18.05.24; author adam; state dead; branches; next 1.5; 1.5 date 2007.11.03.18.53.12; author rillig; state Exp; branches; next 1.4; 1.4 date 2005.01.17.11.26.39; author markd; state Exp; branches; next 1.3; 1.3 date 2004.12.27.23.35.01; author markd; state dead; branches; next 1.2; 1.2 date 2002.08.19.11.23.15; author agc; state Exp; branches; next 1.1; 1.1 date 2001.08.01.08.20.45; author skrll; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.08.01.08.20.45; author skrll; state Exp; branches; next ; desc @@ 1.6 log @Changes 0.7.2: - When administrate users on mysql servers >= 4.0 the max_updates/queries/ connections settings will reflected. - fixes for building with gcc 4 - fixes for mysql lib > 4.1 - Integrated a compact layout where the non-modal windows are part of main window - Setting up a new more compact table browser widget @ text @$NetBSD: patch-ad,v 1.5 2007/11/03 18:53:12 rillig Exp $ --- kmysqladmin/backend/my_sql/my_sql.cpp.orig 2004-09-22 04:53:03.000000000 +0200 +++ kmysqladmin/backend/my_sql/my_sql.cpp 2007-09-26 22:55:12.000000000 +0200 @@@@ -13,6 +13,7 @@@@ #include #include #include +#include #include #include @@@@ -70,6 +71,7 @@@@ const my_sql_type CMySql::f_arr[]= my_sql_type("DATETIME","DateTime", 14, 14,0,0,false,false,false,false,false,false,false,false), my_sql_type("YEAR","Year", 4, 4,0,0, true,false,false,false,false,false,false,false), my_sql_type("DOUBLE","Double (8 Bytes)", 1, 20,0,8, true, true, true,false,false, true,false,false), + my_sql_type("DOUBLE UNSIGNED", "Double (8 Bytes)", 1, 20,0,8, true, true, true, true,false, true,false,false), my_sql_type("NUMERIC","Decimal (lenght,dec)", 1, 20,0,8, true, true, true,false, true, true,false,false), }; @@@@ -469,8 +471,10 @@@@ bool CMySql::get_table_fields(const std: } } if (f_type == FieldDescriptCounts()) { - do_message("Error retrieving fieldtypes - please send a mail to the " - "autor of the software!"); + std::string msg = "Unknown MySQL type "; + msg += type_string; + msg += " - please send a mail to the author of the software!"; + do_message(msg); return false; } my_sql_type t_info = sql_type(f_type); @@@@ -1184,7 +1188,11 @@@@ int CMySql::shutdown() int i; if (!Sql_Connection) return 0; - i = mysql_shutdown(Sql_Connection); + i = mysql_shutdown(Sql_Connection +#if MYSQL_VERSION_ID >= 40103 + , SHUTDOWN_DEFAULT +#endif + ); if (i < 0) { do_message(get_last_error()); } @ 1.5 log @Made an otherwise annoying error message helpful. PKGREVISION++ because there are user-visible changes. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.4 2005/01/17 11:26:39 markd Exp $ @ 1.4 log @Fix build with mysql >= 4.1.3. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- kmysqladmin/backend/my_sql/my_sql.cpp.orig 2004-09-22 14:53:03.000000000 +1200 +++ kmysqladmin/backend/my_sql/my_sql.cpp d13 22 a34 1 @@@@ -1184,7 +1185,11 @@@@ int CMySql::shutdown() @ 1.3 log @update kmysqladmin to 0.7.0 ported to kde3 and lots of bugfixes. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.2 2002/08/19 11:23:15 agc Exp $ d3 8 a10 5 --- kmysqladmin/profile.cpp.orig Thu Jul 5 16:46:07 2001 +++ kmysqladmin/profile.cpp Thu Jul 5 16:48:47 2001 @@@@ -33,7 +33,13 @@@@ #include #else d12 9 a20 6 +#ifdef __NetBSD__ +#include +#include +#include +#else #include d22 4 a25 3 #endif #include "helpers.h" @ 1.2 log @Make this package compile on NetBSD 1.6 and above. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1.1.1 2001/08/01 08:20:45 skrll Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -33,7 +33,11 @@@@ d11 2 @ 1.1.1.1 log @Kmysqladmin is a GUI for administrating a MySQL installation under KDE/QT Kmysqladmin-0.5.1 specifically works with KDE2. From Scott Presnell in pkg/13393. @ text @@