You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(447) |
Nov
(163) |
Dec
(57) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(172) |
Feb
|
Mar
(123) |
Apr
(64) |
May
(1) |
Jun
(278) |
Jul
(89) |
Aug
(97) |
Sep
(62) |
Oct
(53) |
Nov
(119) |
Dec
(60) |
| 2006 |
Jan
(76) |
Feb
(1094) |
Mar
(363) |
Apr
(163) |
May
(57) |
Jun
(43) |
Jul
(39) |
Aug
(15) |
Sep
(33) |
Oct
(62) |
Nov
(8) |
Dec
|
| 2007 |
Jan
(9) |
Feb
(34) |
Mar
(2) |
Apr
(14) |
May
(8) |
Jun
(40) |
Jul
(21) |
Aug
(1) |
Sep
(20) |
Oct
(15) |
Nov
(26) |
Dec
|
| 2008 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
|
Dec
(1) |
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(32) |
Jun
|
Jul
|
Aug
(3) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
| 2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <cre...@us...> - 2007-06-17 21:28:41
|
Revision: 1693
http://svn.sourceforge.net/frontierkernel/?rev=1693&view=rev
Author: creecode
Date: 2007-06-17 14:28:42 -0700 (Sun, 17 Jun 2007)
Log Message:
-----------
project file w/MySQL support
Modified Paths:
--------------
Frontier/branches/mysql/build_Xcode/Frontier Universal Binary.xcodeproj/project.pbxproj
Modified: Frontier/branches/mysql/build_Xcode/Frontier Universal Binary.xcodeproj/project.pbxproj
===================================================================
--- Frontier/branches/mysql/build_Xcode/Frontier Universal Binary.xcodeproj/project.pbxproj 2007-06-17 21:17:41 UTC (rev 1692)
+++ Frontier/branches/mysql/build_Xcode/Frontier Universal Binary.xcodeproj/project.pbxproj 2007-06-17 21:28:42 UTC (rev 1693)
@@ -69,6 +69,17 @@
5D18A84B0AD3AD9900613FDB /* vdbeInt.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D18A83E0AD3AD9900613FDB /* vdbeInt.h */; };
5D4E1E490AAA17E900DF6890 /* langsqlite.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D4E1E470AAA17E900DF6890 /* langsqlite.c */; };
5D4E1E4A0AAA17E900DF6890 /* langsqlite.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D4E1E480AAA17E900DF6890 /* langsqlite.h */; };
+ 5D8F1E110C25AFC500927B97 /* my_alloc.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F1E0A0C25AFC500927B97 /* my_alloc.h */; };
+ 5D8F1E120C25AFC500927B97 /* my_list.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F1E0B0C25AFC500927B97 /* my_list.h */; };
+ 5D8F1E130C25AFC500927B97 /* mysql.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F1E0C0C25AFC500927B97 /* mysql.h */; };
+ 5D8F1E140C25AFC500927B97 /* mysql_com.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F1E0D0C25AFC500927B97 /* mysql_com.h */; };
+ 5D8F1E150C25AFC600927B97 /* mysql_time.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F1E0E0C25AFC500927B97 /* mysql_time.h */; };
+ 5D8F1E160C25AFC600927B97 /* mysql_version.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F1E0F0C25AFC500927B97 /* mysql_version.h */; };
+ 5D8F1E170C25AFC600927B97 /* typelib.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F1E100C25AFC500927B97 /* typelib.h */; };
+ 5D8F1EF00C25B4AB00927B97 /* libmysqlclient.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D8F1EEE0C25B4AB00927B97 /* libmysqlclient.a */; };
+ 5D8F1EF10C25B4AB00927B97 /* libz.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D8F1EEF0C25B4AB00927B97 /* libz.a */; };
+ 5D8F1EF40C25B51A00927B97 /* langmysql.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D8F1EF30C25B51A00927B97 /* langmysql.c */; };
+ 5D8F1EF70C25B56600927B97 /* langmysql.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F1EF60C25B56600927B97 /* langmysql.h */; };
5DCA3B0C0AF552C700D6155D /* libpaigefat.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCA3B0B0AF552C700D6155D /* libpaigefat.a */; };
5DCA3B0D0AF552C700D6155D /* libpaigefat.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCA3B0B0AF552C700D6155D /* libpaigefat.a */; };
6505996409968C1400410571 /* ioascrollbar.h in Headers */ = {isa = PBXBuildFile; fileRef = 651525AB072BFC6700411831 /* ioascrollbar.h */; };
@@ -1059,23 +1070,6 @@
DEA58AB407435A9500BAB271 /* Frontier.icns in Resources */ = {isa = PBXBuildFile; fileRef = DEA58AB307435A9500BAB271 /* Frontier.icns */; };
/* End PBXBuildFile section */
-/* Begin PBXBuildStyle section */
- 5D18A7BB0AD3AB5B00613FDB /* Development */ = {
- isa = PBXBuildStyle;
- buildSettings = {
- COPY_PHASE_STRIP = NO;
- };
- name = Development;
- };
- 5D18A7BC0AD3AB5B00613FDB /* Deployment */ = {
- isa = PBXBuildStyle;
- buildSettings = {
- COPY_PHASE_STRIP = YES;
- };
- name = Deployment;
- };
-/* End PBXBuildStyle section */
-
/* Begin PBXContainerItemProxy section */
BB37A3170AB827EA0077C6A1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
@@ -1149,6 +1143,17 @@
5D18A83E0AD3AD9900613FDB /* vdbeInt.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = vdbeInt.h; path = ../Common/sqlite3/vdbeInt.h; sourceTree = SOURCE_ROOT; };
5D4E1E470AAA17E900DF6890 /* langsqlite.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = langsqlite.c; path = ../Common/source/langsqlite.c; sourceTree = SOURCE_ROOT; };
5D4E1E480AAA17E900DF6890 /* langsqlite.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = langsqlite.h; path = ../Common/headers/langsqlite.h; sourceTree = SOURCE_ROOT; };
+ 5D8F1E0A0C25AFC500927B97 /* my_alloc.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = my_alloc.h; path = "../Common/MySQL/osx10.3-powerpc/include/my_alloc.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F1E0B0C25AFC500927B97 /* my_list.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = my_list.h; path = "../Common/MySQL/osx10.3-powerpc/include/my_list.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F1E0C0C25AFC500927B97 /* mysql.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = mysql.h; path = "../Common/MySQL/osx10.3-powerpc/include/mysql.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F1E0D0C25AFC500927B97 /* mysql_com.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = mysql_com.h; path = "../Common/MySQL/osx10.3-powerpc/include/mysql_com.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F1E0E0C25AFC500927B97 /* mysql_time.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = mysql_time.h; path = "../Common/MySQL/osx10.3-powerpc/include/mysql_time.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F1E0F0C25AFC500927B97 /* mysql_version.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = mysql_version.h; path = "../Common/MySQL/osx10.3-powerpc/include/mysql_version.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F1E100C25AFC500927B97 /* typelib.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = typelib.h; path = "../Common/MySQL/osx10.3-powerpc/include/typelib.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F1EEE0C25B4AB00927B97 /* libmysqlclient.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libmysqlclient.a; path = tools/libmysqlclient.a; sourceTree = SOURCE_ROOT; };
+ 5D8F1EEF0C25B4AB00927B97 /* libz.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libz.a; path = tools/libz.a; sourceTree = SOURCE_ROOT; };
+ 5D8F1EF30C25B51A00927B97 /* langmysql.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = langmysql.c; path = ../Common/source/langmysql.c; sourceTree = SOURCE_ROOT; };
+ 5D8F1EF60C25B56600927B97 /* langmysql.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = langmysql.h; path = ../Common/headers/langmysql.h; sourceTree = SOURCE_ROOT; };
5DCA3B0B0AF552C700D6155D /* libpaigefat.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpaigefat.a; path = tools/libpaigefat.a; sourceTree = SOURCE_ROOT; };
65059B4E09968C1400410571 /* OPML.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OPML.app; sourceTree = BUILT_PRODUCTS_DIR; };
65059B760996945100410571 /* OPML.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = OPML.icns; path = ../resources/OPML/OPML.icns; sourceTree = SOURCE_ROOT; };
@@ -1676,6 +1681,8 @@
6515294D072C000900411831 /* QuickTime.framework in Frameworks */,
BB37A31B0AB828010077C6A1 /* libSQLite3.a in Frameworks */,
5DCA3B0C0AF552C700D6155D /* libpaigefat.a in Frameworks */,
+ 5D8F1EF00C25B4AB00927B97 /* libmysqlclient.a in Frameworks */,
+ 5D8F1EF10C25B4AB00927B97 /* libz.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1778,6 +1785,20 @@
name = SQLite;
sourceTree = "<group>";
};
+ 5D8F1E090C25AFC500927B97 /* MySQL */ = {
+ isa = PBXGroup;
+ children = (
+ 5D8F1E0A0C25AFC500927B97 /* my_alloc.h */,
+ 5D8F1E0B0C25AFC500927B97 /* my_list.h */,
+ 5D8F1E0C0C25AFC500927B97 /* mysql.h */,
+ 5D8F1E0D0C25AFC500927B97 /* mysql_com.h */,
+ 5D8F1E0E0C25AFC500927B97 /* mysql_time.h */,
+ 5D8F1E0F0C25AFC500927B97 /* mysql_version.h */,
+ 5D8F1E100C25AFC500927B97 /* typelib.h */,
+ );
+ name = MySQL;
+ sourceTree = SOURCE_ROOT;
+ };
5DAE70AF0AD423000068EA39 /* Products */ = {
isa = PBXGroup;
children = (
@@ -2153,6 +2174,7 @@
65152633072BFC6700411831 /* langhtml.c */,
65152634072BFC6800411831 /* langlist.c */,
65B70CDB0797CE4A008C2F1A /* langmath.c */,
+ 5D8F1EF30C25B51A00927B97 /* langmysql.c */,
65152635072BFC6800411831 /* langops.c */,
65152636072BFC6800411831 /* langpack.c */,
65152637072BFC6800411831 /* langparser.c */,
@@ -2336,8 +2358,10 @@
children = (
6515294A072C000500411831 /* ApplicationServices.framework */,
651527B8072BFE0E00411831 /* Carbon.framework */,
+ 5D8F1EEE0C25B4AB00927B97 /* libmysqlclient.a */,
5DCA3B0B0AF552C700D6155D /* libpaigefat.a */,
BB37A29C0AB826540077C6A1 /* libSQLite3.a */,
+ 5D8F1EEF0C25B4AB00927B97 /* libz.a */,
6515294C072C000900411831 /* QuickTime.framework */,
);
name = "External Frameworks and Libraries";
@@ -2449,6 +2473,7 @@
651527E8072BFE3F00411831 /* langinternal.h */,
651528BA072BFF0900411831 /* langipc.h */,
65B70CDF0797CEAD008C2F1A /* langmath.h */,
+ 5D8F1EF60C25B56600927B97 /* langmysql.h */,
651528E8072BFF3E00411831 /* langparser.h */,
651528E2072BFF3300411831 /* langpython.h */,
651528A6072BFEF200411831 /* langregexp.h */,
@@ -2474,6 +2499,7 @@
65152814072BFE6300411831 /* MoreFilesExtras.h */,
651525C2072BFC6700411831 /* MoreFilesX.h */,
65152850072BFE9E00411831 /* mouse.h */,
+ 5D8F1E090C25AFC500927B97 /* MySQL */,
6515289E072BFEEA00411831 /* notify.h */,
651528D0072BFF1F00411831 /* odbinternal.h */,
651528AA072BFEF600411831 /* op.h */,
@@ -3039,6 +3065,14 @@
5D4E1E4A0AAA17E900DF6890 /* langsqlite.h in Headers */,
5D0D91050ADEDFA80000E67B /* FSCopyObject.h in Headers */,
5D0D91070ADEDFA80000E67B /* GenLinkedList.h in Headers */,
+ 5D8F1E110C25AFC500927B97 /* my_alloc.h in Headers */,
+ 5D8F1E120C25AFC500927B97 /* my_list.h in Headers */,
+ 5D8F1E130C25AFC500927B97 /* mysql.h in Headers */,
+ 5D8F1E140C25AFC500927B97 /* mysql_com.h in Headers */,
+ 5D8F1E150C25AFC600927B97 /* mysql_time.h in Headers */,
+ 5D8F1E160C25AFC600927B97 /* mysql_version.h in Headers */,
+ 5D8F1E170C25AFC600927B97 /* typelib.h in Headers */,
+ 5D8F1EF70C25B56600927B97 /* langmysql.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -3131,12 +3165,6 @@
65152560072BFC6500411831 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 5D4E1D460AAA0B1400DF6890 /* Build configuration list for PBXProject "Frontier Universal Binary" */;
- buildSettings = {
- };
- buildStyles = (
- 5D18A7BB0AD3AB5B00613FDB /* Development */,
- 5D18A7BC0AD3AB5B00613FDB /* Deployment */,
- );
hasScannedForEncodings = 1;
mainGroup = 6515255C072BFC6500411831;
productRefGroup = 6515255C072BFC6500411831;
@@ -3245,13 +3273,17 @@
);
inputPaths = (
"${SRCROOT}/../Common/Paige/libpaigefat.a",
+ "${SRCROOT}/../Common/MySQL/osx10.3-powerpc/lib/libmysqlclient.a",
+ "${SRCROOT}/../Common/MySQL/osx10.4-i686/lib/libmysqlclient.a",
);
outputPaths = (
"${SRCROOT}/tools/libpaigefat.a",
+ "${SRCROOT}/tools/libmysqlclient.a",
+ "${SRCROOT}/tools/libz.a",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "#set -x\ncp -f \"${SRCROOT}/../Common/Paige/libpaigefat.a\" \"${SRCROOT}/tools/libpaigefat.a\"\nranlib \"${SRCROOT}/tools/libpaigefat.a\"";
+ shellScript = "#set -x\n\n#\n# paige\n#\n\ncp -f \"${SRCROOT}/../Common/Paige/libpaigefat.a\" \"${SRCROOT}/tools/libpaigefat.a\"\n\nranlib \"${SRCROOT}/tools/libpaigefat.a\"\n\n#\n# build Universal Binary MySQL libraries\n#\n\nlipo -create \"${SRCROOT}/../Common/MySQL/osx10.3-powerpc/lib/libmysqlclient.a\" \"${SRCROOT}/../Common/MySQL/osx10.4-i686/lib/libmysqlclient.a\" -output \"${SRCROOT}/tools/libmysqlclient.a\"\n\nlipo -create \"${SRCROOT}/../Common/MySQL/osx10.3-powerpc/lib/libz.a\" \"${SRCROOT}/../Common/MySQL/osx10.4-i686/lib/libz.a\" -output \"${SRCROOT}/tools/libz.a\"";
};
65ED46B809D85D3F00BEB9D3 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
@@ -3283,7 +3315,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = ". \"${SRCROOT}/tools/postlinking.sh\"\n";
+ shellScript = ". \"${SRCROOT}/tools/postlinking.sh\"";
};
/* End PBXShellScriptBuildPhase section */
@@ -3804,6 +3836,7 @@
5D4E1E490AAA17E900DF6890 /* langsqlite.c in Sources */,
5D0D91040ADEDFA80000E67B /* FSCopyObject.c in Sources */,
5D0D91060ADEDFA80000E67B /* GenLinkedList.c in Sources */,
+ 5D8F1EF40C25B51A00927B97 /* langmysql.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 21:17:43
|
Revision: 1692
http://svn.sourceforge.net/frontierkernel/?rev=1692&view=rev
Author: creecode
Date: 2007-06-17 14:17:41 -0700 (Sun, 17 Jun 2007)
Log Message:
-----------
updated MySQL include/library path, removed some unused MySQL header files
Modified Paths:
--------------
Frontier/branches/mysql/build_VC2K5/Frontier.vcproj
Modified: Frontier/branches/mysql/build_VC2K5/Frontier.vcproj
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 18:02:08
|
Revision: 1691
http://svn.sourceforge.net/frontierkernel/?rev=1691&view=rev
Author: creecode
Date: 2007-06-17 11:02:10 -0700 (Sun, 17 Jun 2007)
Log Message:
-----------
delete files left over from 5.0.37 that isn't in 5.0.41
Removed Paths:
-------------
Frontier/vendor/MySQL/5.0.41/win32/lib/opt/mysys.lib
Frontier/vendor/MySQL/current/win32/lib/opt/mysys.lib
Deleted: Frontier/vendor/MySQL/5.0.41/win32/lib/opt/mysys.lib
===================================================================
(Binary files differ)
Deleted: Frontier/vendor/MySQL/current/win32/lib/opt/mysys.lib
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 17:58:08
|
Revision: 1690
http://svn.sourceforge.net/frontierkernel/?rev=1690&view=rev
Author: creecode
Date: 2007-06-17 10:58:10 -0700 (Sun, 17 Jun 2007)
Log Message:
-----------
project file w/MySQL support, 2nd try, weird problem with libsqlite3.lib showing up at bottom of Groups pane, fixed, i hope
Modified Paths:
--------------
Frontier/branches/mysql/build_Xcode/Frontier.xcodeproj/project.pbxproj
Modified: Frontier/branches/mysql/build_Xcode/Frontier.xcodeproj/project.pbxproj
===================================================================
--- Frontier/branches/mysql/build_Xcode/Frontier.xcodeproj/project.pbxproj 2007-06-17 17:13:18 UTC (rev 1689)
+++ Frontier/branches/mysql/build_Xcode/Frontier.xcodeproj/project.pbxproj 2007-06-17 17:58:10 UTC (rev 1690)
@@ -82,7 +82,7 @@
5D8F02BD0C24924C00927B97 /* typelib.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F02B90C24924C00927B97 /* typelib.h */; };
5D8F02C10C2492A800927B97 /* my_alloc.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F02BF0C2492A800927B97 /* my_alloc.h */; };
5D8F02C20C2492A800927B97 /* mysql_com.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F02C00C2492A800927B97 /* mysql_com.h */; };
- 5D8F1BF50C25951F00927B97 /* libSQLite3.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D8F1BF40C25951F00927B97 /* libSQLite3.a */; };
+ 5D8F1DAC0C25AA5400927B97 /* libSQLite3.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D8F1DAB0C25AA5300927B97 /* libSQLite3.a */; };
6505996409968C1400410571 /* ioascrollbar.h in Headers */ = {isa = PBXBuildFile; fileRef = 651525AB072BFC6700411831 /* ioascrollbar.h */; };
6505996509968C1400410571 /* ioapopup.h in Headers */ = {isa = PBXBuildFile; fileRef = 651525A7072BFC6700411831 /* ioapopup.h */; };
6505996609968C1400410571 /* ioaicon.h in Headers */ = {isa = PBXBuildFile; fileRef = 651525A4072BFC6700411831 /* ioaicon.h */; };
@@ -1204,8 +1204,7 @@
5D8F02B90C24924C00927B97 /* typelib.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = typelib.h; path = "../Common/MySQL/osx10.3-powerpc/include/typelib.h"; sourceTree = SOURCE_ROOT; };
5D8F02BF0C2492A800927B97 /* my_alloc.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = my_alloc.h; path = "../Common/MySQL/osx10.3-powerpc/include/my_alloc.h"; sourceTree = SOURCE_ROOT; };
5D8F02C00C2492A800927B97 /* mysql_com.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = mysql_com.h; path = "../Common/MySQL/osx10.3-powerpc/include/mysql_com.h"; sourceTree = SOURCE_ROOT; };
- 5D8F1BE30C25933300927B97 /* libSQLite3.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libSQLite3.a; path = /Users/creedon/Development/Frontier_mySql_Client/build_Xcode/build/Development/libSQLite3.a; sourceTree = "<absolute>"; };
- 5D8F1BF40C25951F00927B97 /* libSQLite3.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSQLite3.a; path = build/Development/libSQLite3.a; sourceTree = SOURCE_ROOT; };
+ 5D8F1DAB0C25AA5300927B97 /* libSQLite3.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSQLite3.a; path = build/Development/libSQLite3.a; sourceTree = SOURCE_ROOT; };
65059B4E09968C1400410571 /* OPML.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OPML.app; sourceTree = BUILT_PRODUCTS_DIR; };
65059B760996945100410571 /* OPML.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = OPML.icns; path = ../resources/OPML/OPML.icns; sourceTree = SOURCE_ROOT; };
65059B770996945100410571 /* OPMLdoc.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = OPMLdoc.icns; path = ../resources/OPML/OPMLdoc.icns; sourceTree = SOURCE_ROOT; };
@@ -1732,7 +1731,7 @@
5D8F017F0C247FE700927B97 /* libmysqlclient.a in Frameworks */,
5D8F01800C247FE700927B97 /* libz.a in Frameworks */,
5D8F026D0C2483F500927B97 /* libpaigemacho.a in Frameworks */,
- 5D8F1BF50C25951F00927B97 /* libSQLite3.a in Frameworks */,
+ 5D8F1DAC0C25AA5400927B97 /* libSQLite3.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -2404,7 +2403,7 @@
651527B8072BFE0E00411831 /* Carbon.framework */,
5D8F017D0C247FE700927B97 /* libmysqlclient.a */,
5D8F026C0C2483F500927B97 /* libpaigemacho.a */,
- 5D8F1BF40C25951F00927B97 /* libSQLite3.a */,
+ 5D8F1DAB0C25AA5300927B97 /* libSQLite3.a */,
5D8F017E0C247FE700927B97 /* libz.a */,
6515294C072C000900411831 /* QuickTime.framework */,
);
@@ -3202,7 +3201,6 @@
);
name = SQLite3;
productName = sqlite3_static;
- productReference = 5D8F1BE30C25933300927B97 /* libSQLite3.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
@@ -3983,10 +3981,14 @@
"$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_2)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_5)",
);
LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/build/Development\"";
LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/build/Development\"";
LIBRARY_SEARCH_PATHS_QUOTED_3 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_4 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_5 = "\"$(SRCROOT)/build/Development\"";
OTHER_CFLAGS = (
"-fno-inline",
"-malign-mac68k",
@@ -4047,10 +4049,14 @@
"$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_2)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_5)",
);
LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/build/Development\"";
LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/build/Development\"";
LIBRARY_SEARCH_PATHS_QUOTED_3 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_4 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_5 = "\"$(SRCROOT)/build/Development\"";
OTHER_CFLAGS = (
"-fno-inline",
"-malign-mac68k",
@@ -4107,10 +4113,14 @@
"$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_2)",
"$(LIBRARY_SEARCH_PATHS_QUOTED_3)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_4)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_5)",
);
LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/build/Development\"";
LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/build/Development\"";
LIBRARY_SEARCH_PATHS_QUOTED_3 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_4 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_5 = "\"$(SRCROOT)/build/Development\"";
OTHER_CFLAGS = (
"-fno-inline",
"-malign-mac68k",
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 17:13:21
|
Revision: 1689
http://svn.sourceforge.net/frontierkernel/?rev=1689&view=rev
Author: creecode
Date: 2007-06-17 10:13:18 -0700 (Sun, 17 Jun 2007)
Log Message:
-----------
project file w/MySQL support
Modified Paths:
--------------
Frontier/branches/mysql/build_Xcode/Frontier.xcodeproj/project.pbxproj
Modified: Frontier/branches/mysql/build_Xcode/Frontier.xcodeproj/project.pbxproj
===================================================================
--- Frontier/branches/mysql/build_Xcode/Frontier.xcodeproj/project.pbxproj 2007-06-17 16:53:01 UTC (rev 1688)
+++ Frontier/branches/mysql/build_Xcode/Frontier.xcodeproj/project.pbxproj 2007-06-17 17:13:18 UTC (rev 1689)
@@ -67,8 +67,22 @@
5D18A8490AD3AD9900613FDB /* sqliteInt.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D18A83C0AD3AD9900613FDB /* sqliteInt.h */; };
5D18A84A0AD3AD9900613FDB /* vdbe.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D18A83D0AD3AD9900613FDB /* vdbe.h */; };
5D18A84B0AD3AD9900613FDB /* vdbeInt.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D18A83E0AD3AD9900613FDB /* vdbeInt.h */; };
+ 5D4832630C17729E009E897D /* mysql.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D4832620C17729E009E897D /* mysql.h */; };
5D4E1E490AAA17E900DF6890 /* langsqlite.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D4E1E470AAA17E900DF6890 /* langsqlite.c */; };
5D4E1E4A0AAA17E900DF6890 /* langsqlite.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D4E1E480AAA17E900DF6890 /* langsqlite.h */; };
+ 5D5837F10C0E02FA00DB769C /* langmysql.c in Sources */ = {isa = PBXBuildFile; fileRef = 5D5837F00C0E02FA00DB769C /* langmysql.c */; };
+ 5D5837F30C0E035D00DB769C /* langmysql.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D5837F20C0E035D00DB769C /* langmysql.h */; };
+ 5D8F017F0C247FE700927B97 /* libmysqlclient.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D8F017D0C247FE700927B97 /* libmysqlclient.a */; };
+ 5D8F01800C247FE700927B97 /* libz.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D8F017E0C247FE700927B97 /* libz.a */; };
+ 5D8F026D0C2483F500927B97 /* libpaigemacho.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D8F026C0C2483F500927B97 /* libpaigemacho.a */; };
+ 5D8F026E0C2483F500927B97 /* libpaigemacho.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D8F026C0C2483F500927B97 /* libpaigemacho.a */; };
+ 5D8F02BA0C24924C00927B97 /* my_list.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F02B60C24924C00927B97 /* my_list.h */; };
+ 5D8F02BB0C24924C00927B97 /* mysql_time.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F02B70C24924C00927B97 /* mysql_time.h */; };
+ 5D8F02BC0C24924C00927B97 /* mysql_version.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F02B80C24924C00927B97 /* mysql_version.h */; };
+ 5D8F02BD0C24924C00927B97 /* typelib.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F02B90C24924C00927B97 /* typelib.h */; };
+ 5D8F02C10C2492A800927B97 /* my_alloc.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F02BF0C2492A800927B97 /* my_alloc.h */; };
+ 5D8F02C20C2492A800927B97 /* mysql_com.h in Headers */ = {isa = PBXBuildFile; fileRef = 5D8F02C00C2492A800927B97 /* mysql_com.h */; };
+ 5D8F1BF50C25951F00927B97 /* libSQLite3.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5D8F1BF40C25951F00927B97 /* libSQLite3.a */; };
6505996409968C1400410571 /* ioascrollbar.h in Headers */ = {isa = PBXBuildFile; fileRef = 651525AB072BFC6700411831 /* ioascrollbar.h */; };
6505996509968C1400410571 /* ioapopup.h in Headers */ = {isa = PBXBuildFile; fileRef = 651525A7072BFC6700411831 /* ioapopup.h */; };
6505996609968C1400410571 /* ioaicon.h in Headers */ = {isa = PBXBuildFile; fileRef = 651525A4072BFC6700411831 /* ioaicon.h */; };
@@ -1025,8 +1039,6 @@
65152951072C001700411831 /* PGERRORS.H in Headers */ = {isa = PBXBuildFile; fileRef = 65152950072C001700411831 /* PGERRORS.H */; };
655A983609E929CC009EFFEA /* byteorder.h in Headers */ = {isa = PBXBuildFile; fileRef = 655A983509E929CC009EFFEA /* byteorder.h */; };
655A983709E929CC009EFFEA /* byteorder.h in Headers */ = {isa = PBXBuildFile; fileRef = 655A983509E929CC009EFFEA /* byteorder.h */; };
- 6591D9F609D853E8008365FA /* libpaigemacho.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6591D9F509D853E8008365FA /* libpaigemacho.a */; };
- 6591D9F709D853E8008365FA /* libpaigemacho.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6591D9F509D853E8008365FA /* libpaigemacho.a */; };
6599180709C494EA00F6F58C /* whirlpool.c in Sources */ = {isa = PBXBuildFile; fileRef = 6599180609C494EA00F6F58C /* whirlpool.c */; };
6599180809C494EA00F6F58C /* whirlpool.c in Sources */ = {isa = PBXBuildFile; fileRef = 6599180609C494EA00F6F58C /* whirlpool.c */; };
6599181409C4950300F6F58C /* langcrypt.c in Sources */ = {isa = PBXBuildFile; fileRef = 6599181309C4950200F6F58C /* langcrypt.c */; };
@@ -1053,7 +1065,6 @@
65F9C22309C4CD9800DCC29E /* sha.h in Headers */ = {isa = PBXBuildFile; fileRef = 65F9C21F09C4CD9700DCC29E /* sha.h */; };
65F9C22709C4CDDE00DCC29E /* sha1dgst.c in Sources */ = {isa = PBXBuildFile; fileRef = 65F9C22609C4CDDE00DCC29E /* sha1dgst.c */; };
65F9C22809C4CDDE00DCC29E /* sha1dgst.c in Sources */ = {isa = PBXBuildFile; fileRef = 65F9C22609C4CDDE00DCC29E /* sha1dgst.c */; };
- BB37A31B0AB828010077C6A1 /* libSQLite3.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BB37A29C0AB826540077C6A1 /* libSQLite3.a */; };
DEA58AB407435A9500BAB271 /* Frontier.icns in Resources */ = {isa = PBXBuildFile; fileRef = DEA58AB307435A9500BAB271 /* Frontier.icns */; };
/* End PBXBuildFile section */
@@ -1108,23 +1119,6 @@
};
/* End PBXBuildRule section */
-/* Begin PBXBuildStyle section */
- 5D18A7BB0AD3AB5B00613FDB /* Development */ = {
- isa = PBXBuildStyle;
- buildSettings = {
- COPY_PHASE_STRIP = NO;
- };
- name = Development;
- };
- 5D18A7BC0AD3AB5B00613FDB /* Deployment */ = {
- isa = PBXBuildStyle;
- buildSettings = {
- COPY_PHASE_STRIP = YES;
- };
- name = Deployment;
- };
-/* End PBXBuildStyle section */
-
/* Begin PBXContainerItemProxy section */
BB37A3170AB827EA0077C6A1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
@@ -1196,8 +1190,22 @@
5D18A83C0AD3AD9900613FDB /* sqliteInt.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = sqliteInt.h; path = ../Common/sqlite3/sqliteInt.h; sourceTree = SOURCE_ROOT; };
5D18A83D0AD3AD9900613FDB /* vdbe.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = vdbe.h; path = ../Common/sqlite3/vdbe.h; sourceTree = SOURCE_ROOT; };
5D18A83E0AD3AD9900613FDB /* vdbeInt.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = vdbeInt.h; path = ../Common/sqlite3/vdbeInt.h; sourceTree = SOURCE_ROOT; };
+ 5D4832620C17729E009E897D /* mysql.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = mysql.h; path = "../Common/MySQL/osx10.3-powerpc/include/mysql.h"; sourceTree = SOURCE_ROOT; };
5D4E1E470AAA17E900DF6890 /* langsqlite.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = langsqlite.c; path = ../Common/source/langsqlite.c; sourceTree = SOURCE_ROOT; };
5D4E1E480AAA17E900DF6890 /* langsqlite.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = langsqlite.h; path = ../Common/headers/langsqlite.h; sourceTree = SOURCE_ROOT; };
+ 5D5837F00C0E02FA00DB769C /* langmysql.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = langmysql.c; path = ../Common/source/langmysql.c; sourceTree = SOURCE_ROOT; };
+ 5D5837F20C0E035D00DB769C /* langmysql.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = langmysql.h; path = ../Common/headers/langmysql.h; sourceTree = SOURCE_ROOT; };
+ 5D8F017D0C247FE700927B97 /* libmysqlclient.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; name = libmysqlclient.a; path = tools/libmysqlclient.a; sourceTree = SOURCE_ROOT; };
+ 5D8F017E0C247FE700927B97 /* libz.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libz.a; path = tools/libz.a; sourceTree = SOURCE_ROOT; };
+ 5D8F026C0C2483F500927B97 /* libpaigemacho.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libpaigemacho.a; path = tools/libpaigemacho.a; sourceTree = SOURCE_ROOT; };
+ 5D8F02B60C24924C00927B97 /* my_list.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = my_list.h; path = "../Common/MySQL/osx10.3-powerpc/include/my_list.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F02B70C24924C00927B97 /* mysql_time.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = mysql_time.h; path = "../Common/MySQL/osx10.3-powerpc/include/mysql_time.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F02B80C24924C00927B97 /* mysql_version.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = mysql_version.h; path = "../Common/MySQL/osx10.3-powerpc/include/mysql_version.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F02B90C24924C00927B97 /* typelib.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = typelib.h; path = "../Common/MySQL/osx10.3-powerpc/include/typelib.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F02BF0C2492A800927B97 /* my_alloc.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = my_alloc.h; path = "../Common/MySQL/osx10.3-powerpc/include/my_alloc.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F02C00C2492A800927B97 /* mysql_com.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = mysql_com.h; path = "../Common/MySQL/osx10.3-powerpc/include/mysql_com.h"; sourceTree = SOURCE_ROOT; };
+ 5D8F1BE30C25933300927B97 /* libSQLite3.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libSQLite3.a; path = /Users/creedon/Development/Frontier_mySql_Client/build_Xcode/build/Development/libSQLite3.a; sourceTree = "<absolute>"; };
+ 5D8F1BF40C25951F00927B97 /* libSQLite3.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSQLite3.a; path = build/Development/libSQLite3.a; sourceTree = SOURCE_ROOT; };
65059B4E09968C1400410571 /* OPML.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OPML.app; sourceTree = BUILT_PRODUCTS_DIR; };
65059B760996945100410571 /* OPML.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = OPML.icns; path = ../resources/OPML/OPML.icns; sourceTree = SOURCE_ROOT; };
65059B770996945100410571 /* OPMLdoc.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = OPMLdoc.icns; path = ../resources/OPML/OPMLdoc.icns; sourceTree = SOURCE_ROOT; };
@@ -1681,7 +1689,6 @@
6515294E072C000D00411831 /* pgMTraps.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = pgMTraps.h; path = ../Common/Paige/headers/pgMTraps.h; sourceTree = SOURCE_ROOT; };
65152950072C001700411831 /* PGERRORS.H */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = PGERRORS.H; path = ../Common/Paige/headers/PGERRORS.H; sourceTree = SOURCE_ROOT; };
655A983509E929CC009EFFEA /* byteorder.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = byteorder.h; path = ../Common/headers/byteorder.h; sourceTree = SOURCE_ROOT; };
- 6591D9F509D853E8008365FA /* libpaigemacho.a */ = {isa = PBXFileReference; comments = "A special shell script build phase copies this file from Common/Paige/libpaigemacho.a and runs ranlib on it. The linker then uses the copy instead of the original of the file."; explicitFileType = file; name = libpaigemacho.a; path = tools/libpaigemacho.a; sourceTree = "<group>"; };
6599180609C494EA00F6F58C /* whirlpool.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = whirlpool.c; path = ../Common/source/whirlpool.c; sourceTree = SOURCE_ROOT; };
6599181309C4950200F6F58C /* langcrypt.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = langcrypt.c; path = ../Common/source/langcrypt.c; sourceTree = SOURCE_ROOT; };
6599181809C4952A00F6F58C /* langcrypt.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = langcrypt.h; path = ../Common/headers/langcrypt.h; sourceTree = SOURCE_ROOT; };
@@ -1700,7 +1707,6 @@
65F9C21E09C4CD9700DCC29E /* sha_locl.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = sha_locl.h; path = ../Common/headers/sha_locl.h; sourceTree = SOURCE_ROOT; };
65F9C21F09C4CD9700DCC29E /* sha.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = sha.h; path = ../Common/headers/sha.h; sourceTree = SOURCE_ROOT; };
65F9C22609C4CDDE00DCC29E /* sha1dgst.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = sha1dgst.c; path = ../Common/source/sha1dgst.c; sourceTree = SOURCE_ROOT; };
- BB37A29C0AB826540077C6A1 /* libSQLite3.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSQLite3.a; sourceTree = BUILT_PRODUCTS_DIR; };
DEA58AB307435A9500BAB271 /* Frontier.icns */ = {isa = PBXFileReference; lastKnownFileType = image.icns; name = Frontier.icns; path = ../resources/Frontier/Frontier.icns; sourceTree = SOURCE_ROOT; };
/* End PBXFileReference section */
@@ -1712,7 +1718,7 @@
65059B3809968C1400410571 /* Carbon.framework in Frameworks */,
65059B3909968C1400410571 /* ApplicationServices.framework in Frameworks */,
65059B3A09968C1400410571 /* QuickTime.framework in Frameworks */,
- 6591D9F709D853E8008365FA /* libpaigemacho.a in Frameworks */,
+ 5D8F026E0C2483F500927B97 /* libpaigemacho.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1723,8 +1729,10 @@
651527B9072BFE0E00411831 /* Carbon.framework in Frameworks */,
6515294B072C000500411831 /* ApplicationServices.framework in Frameworks */,
6515294D072C000900411831 /* QuickTime.framework in Frameworks */,
- 6591D9F609D853E8008365FA /* libpaigemacho.a in Frameworks */,
- BB37A31B0AB828010077C6A1 /* libSQLite3.a in Frameworks */,
+ 5D8F017F0C247FE700927B97 /* libmysqlclient.a in Frameworks */,
+ 5D8F01800C247FE700927B97 /* libz.a in Frameworks */,
+ 5D8F026D0C2483F500927B97 /* libpaigemacho.a in Frameworks */,
+ 5D8F1BF50C25951F00927B97 /* libSQLite3.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -1820,11 +1828,18 @@
name = Headers;
sourceTree = "<group>";
};
- 5D3FD67A0AAB68060086E977 /* SQLite */ = {
+ 5D8F02B10C24919C00927B97 /* MySQL */ = {
isa = PBXGroup;
children = (
+ 5D8F02BF0C2492A800927B97 /* my_alloc.h */,
+ 5D8F02B60C24924C00927B97 /* my_list.h */,
+ 5D4832620C17729E009E897D /* mysql.h */,
+ 5D8F02C00C2492A800927B97 /* mysql_com.h */,
+ 5D8F02B70C24924C00927B97 /* mysql_time.h */,
+ 5D8F02B80C24924C00927B97 /* mysql_version.h */,
+ 5D8F02B90C24924C00927B97 /* typelib.h */,
);
- name = SQLite;
+ name = MySQL;
sourceTree = "<group>";
};
5DAE70AF0AD423000068EA39 /* Products */ = {
@@ -2203,6 +2218,7 @@
65152633072BFC6700411831 /* langhtml.c */,
65152634072BFC6800411831 /* langlist.c */,
65B70CDB0797CE4A008C2F1A /* langmath.c */,
+ 5D5837F00C0E02FA00DB769C /* langmysql.c */,
65152635072BFC6800411831 /* langops.c */,
65152636072BFC6800411831 /* langpack.c */,
65152637072BFC6800411831 /* langparser.c */,
@@ -2386,8 +2402,10 @@
children = (
6515294A072C000500411831 /* ApplicationServices.framework */,
651527B8072BFE0E00411831 /* Carbon.framework */,
- 6591D9F509D853E8008365FA /* libpaigemacho.a */,
- BB37A29C0AB826540077C6A1 /* libSQLite3.a */,
+ 5D8F017D0C247FE700927B97 /* libmysqlclient.a */,
+ 5D8F026C0C2483F500927B97 /* libpaigemacho.a */,
+ 5D8F1BF40C25951F00927B97 /* libSQLite3.a */,
+ 5D8F017E0C247FE700927B97 /* libz.a */,
6515294C072C000900411831 /* QuickTime.framework */,
);
name = "External Frameworks and Libraries";
@@ -2499,6 +2517,7 @@
651527E8072BFE3F00411831 /* langinternal.h */,
651528BA072BFF0900411831 /* langipc.h */,
65B70CDF0797CEAD008C2F1A /* langmath.h */,
+ 5D5837F20C0E035D00DB769C /* langmysql.h */,
651528E8072BFF3E00411831 /* langparser.h */,
651528E2072BFF3300411831 /* langpython.h */,
651528A6072BFEF200411831 /* langregexp.h */,
@@ -2523,6 +2542,7 @@
65152814072BFE6300411831 /* MoreFilesExtras.h */,
651525C2072BFC6700411831 /* MoreFilesX.h */,
65152850072BFE9E00411831 /* mouse.h */,
+ 5D8F02B10C24919C00927B97 /* MySQL */,
6515289E072BFEEA00411831 /* notify.h */,
651528D0072BFF1F00411831 /* odbinternal.h */,
651528AA072BFEF600411831 /* op.h */,
@@ -2587,7 +2607,6 @@
65152846072BFE9500411831 /* shellundo.h */,
65152870072BFEC300411831 /* smallicon.h */,
651528B0072BFEFD00411831 /* sounds.h */,
- 5D3FD67A0AAB68060086E977 /* SQLite */,
651527BA072BFE1000411831 /* standard.h */,
65152924072BFFD200411831 /* stringdefs.h */,
651527E0072BFE3900411831 /* strings.h */,
@@ -3086,6 +3105,14 @@
5D4E1E4A0AAA17E900DF6890 /* langsqlite.h in Headers */,
5D0D91050ADEDFA80000E67B /* FSCopyObject.h in Headers */,
5D0D91070ADEDFA80000E67B /* GenLinkedList.h in Headers */,
+ 5D5837F30C0E035D00DB769C /* langmysql.h in Headers */,
+ 5D4832630C17729E009E897D /* mysql.h in Headers */,
+ 5D8F02BA0C24924C00927B97 /* my_list.h in Headers */,
+ 5D8F02BB0C24924C00927B97 /* mysql_time.h in Headers */,
+ 5D8F02BC0C24924C00927B97 /* mysql_version.h in Headers */,
+ 5D8F02BD0C24924C00927B97 /* typelib.h in Headers */,
+ 5D8F02C10C2492A800927B97 /* my_alloc.h in Headers */,
+ 5D8F02C20C2492A800927B97 /* mysql_com.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -3139,7 +3166,7 @@
isa = PBXNativeTarget;
buildConfigurationList = 5D4E1D3E0AAA0B1400DF6890 /* Build configuration list for PBXNativeTarget "Frontier" */;
buildPhases = (
- 6591D9EE09D850C9008365FA /* ShellScript */,
+ 6591D9EE09D850C9008365FA /* Run Script */,
65152563072BFC6500411831 /* Headers */,
65152564072BFC6500411831 /* Sources */,
65152565072BFC6500411831 /* Resources */,
@@ -3175,7 +3202,7 @@
);
name = SQLite3;
productName = sqlite3_static;
- productReference = BB37A29C0AB826540077C6A1 /* libSQLite3.a */;
+ productReference = 5D8F1BE30C25933300927B97 /* libSQLite3.a */;
productType = "com.apple.product-type.library.static";
};
/* End PBXNativeTarget section */
@@ -3184,12 +3211,6 @@
65152560072BFC6500411831 /* Project object */ = {
isa = PBXProject;
buildConfigurationList = 5D4E1D460AAA0B1400DF6890 /* Build configuration list for PBXProject "Frontier" */;
- buildSettings = {
- };
- buildStyles = (
- 5D18A7BB0AD3AB5B00613FDB /* Development */,
- 5D18A7BC0AD3AB5B00613FDB /* Deployment */,
- );
hasScannedForEncodings = 1;
mainGroup = 6515255C072BFC6500411831;
productRefGroup = 6515255C072BFC6500411831;
@@ -3290,7 +3311,7 @@
shellPath = /bin/sh;
shellScript = ". \"${SRCROOT}/tools/postlinking.sh\"\n";
};
- 6591D9EE09D850C9008365FA /* ShellScript */ = {
+ 6591D9EE09D850C9008365FA /* Run Script */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
comments = "The linker complains if the file modification date of a static library like libpaigemacho.a is newer than the time stamp stored inside the library.\n\nThe Subversion client can be configured to preserve file modification dates, but a more reliable way which does not require a certain client configuration is to make a copy of the library file, run ranlib on the copy to update the filestamp in the file, and then link the copy of the library into the application.\n";
@@ -3298,13 +3319,18 @@
);
inputPaths = (
"${SRCROOT}/../Common/Paige/libpaigemacho.a",
+ "${SRCROOT}/../Common/MySQL/osx10.3-powerpc/lib/libmysqlclient.a",
+ "${SRCROOT}/../Common/MySQL/osx10.4-i686/lib/libmysqlclient.a",
);
+ name = "Run Script";
outputPaths = (
"${SRCROOT}/tools/libpaigemacho.a",
+ "${SRCROOT}/tools/libmysqlclient.a",
+ "${SRCROOT}/tools/libz.a",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "#set -x\ncp -f \"${SRCROOT}/../Common/Paige/libpaigemacho.a\" \"${SRCROOT}/tools/libpaigemacho.a\"\nranlib \"${SRCROOT}/tools/libpaigemacho.a\"";
+ shellScript = "set -x\n\n#\n# paige\n#\n\ncp -f \"${SRCROOT}/../Common/Paige/libpaigemacho.a\" \"${SRCROOT}/tools/libpaigemacho.a\"\n\nranlib \"${SRCROOT}/tools/libpaigemacho.a\"\n\n#\n# build Universal Binary MySQL libraries\n#\n\nlipo -create \"${SRCROOT}/../Common/MySQL/osx10.3-powerpc/lib/libmysqlclient.a\" \"${SRCROOT}/../Common/MySQL/osx10.4-i686/lib/libmysqlclient.a\" -output \"${SRCROOT}/tools/libmysqlclient.a\"\n\nlipo -create \"${SRCROOT}/../Common/MySQL/osx10.3-powerpc/lib/libz.a\" \"${SRCROOT}/../Common/MySQL/osx10.4-i686/lib/libz.a\" -output \"${SRCROOT}/tools/libz.a\"";
};
65ED46B809D85D3F00BEB9D3 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
@@ -3856,6 +3882,7 @@
5D4E1E490AAA17E900DF6890 /* langsqlite.c in Sources */,
5D0D91040ADEDFA80000E67B /* FSCopyObject.c in Sources */,
5D0D91060ADEDFA80000E67B /* GenLinkedList.c in Sources */,
+ 5D5837F10C0E02FA00DB769C /* langmysql.c in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -3952,7 +3979,14 @@
"$(SRCROOT)",
"$(SRCROOT)/tools",
"$(SRCROOT)/../Common/sqlite3",
+ /usr/local/lib/mysql/lib,
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_3)",
);
+ LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_3 = "\"$(SRCROOT)/build/Development\"";
OTHER_CFLAGS = (
"-fno-inline",
"-malign-mac68k",
@@ -4009,7 +4043,14 @@
"$(SRCROOT)",
"$(SRCROOT)/tools",
"$(SRCROOT)/../Common/sqlite3",
+ /usr/local/lib/mysql/lib,
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_3)",
);
+ LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_3 = "\"$(SRCROOT)/build/Development\"";
OTHER_CFLAGS = (
"-fno-inline",
"-malign-mac68k",
@@ -4062,7 +4103,14 @@
"$(SRCROOT)",
"$(SRCROOT)/tools",
"$(SRCROOT)/../Common/sqlite3",
+ /usr/local/lib/mysql/lib,
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_2)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_3)",
);
+ LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/build/Development\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_3 = "\"$(SRCROOT)/build/Development\"";
OTHER_CFLAGS = (
"-fno-inline",
"-malign-mac68k",
@@ -4118,7 +4166,12 @@
GCC_WARN_UNUSED_VALUE = NO;
GCC_WARN_UNUSED_VARIABLE = NO;
INFOPLIST_FILE = Info_OPML.plist;
- LIBRARY_SEARCH_PATHS = "\"tools\"";
+ LIBRARY_SEARCH_PATHS = (
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_2)",
+ );
+ LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"tools\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/tools\"";
OTHER_CFLAGS = (
"-fno-inline",
"-malign-mac68k",
@@ -4170,7 +4223,12 @@
GCC_WARN_UNUSED_VALUE = NO;
GCC_WARN_UNUSED_VARIABLE = NO;
INFOPLIST_FILE = Info_OPML.plist;
- LIBRARY_SEARCH_PATHS = "\"tools\"";
+ LIBRARY_SEARCH_PATHS = (
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_2)",
+ );
+ LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"tools\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/tools\"";
OTHER_CFLAGS = (
"-fno-inline",
"-malign-mac68k",
@@ -4222,7 +4280,12 @@
GCC_WARN_UNUSED_VALUE = NO;
GCC_WARN_UNUSED_VARIABLE = NO;
INFOPLIST_FILE = Info_OPML.plist;
- LIBRARY_SEARCH_PATHS = "\"tools\"";
+ LIBRARY_SEARCH_PATHS = (
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_1)",
+ "$(LIBRARY_SEARCH_PATHS_QUOTED_2)",
+ );
+ LIBRARY_SEARCH_PATHS_QUOTED_1 = "\"tools\"";
+ LIBRARY_SEARCH_PATHS_QUOTED_2 = "\"$(SRCROOT)/tools\"";
OTHER_CFLAGS = (
"-fno-inline",
"-malign-mac68k",
@@ -4251,7 +4314,8 @@
isa = XCBuildConfiguration;
buildSettings = {
OTHER_CFLAGS = "";
- SDKROOT = /Developer/SDKs/MacOSX10.2.8.sdk;
+ OTHER_LDFLAGS = "$(inherited)";
+ SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk;
};
name = Development;
};
@@ -4259,7 +4323,8 @@
isa = XCBuildConfiguration;
buildSettings = {
OTHER_CFLAGS = "";
- SDKROOT = /Developer/SDKs/MacOSX10.2.8.sdk;
+ OTHER_LDFLAGS = "$(inherited)";
+ SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk;
};
name = Deployment;
};
@@ -4267,7 +4332,8 @@
isa = XCBuildConfiguration;
buildSettings = {
OTHER_CFLAGS = "";
- SDKROOT = /Developer/SDKs/MacOSX10.2.8.sdk;
+ OTHER_LDFLAGS = "$(inherited)";
+ SDKROOT = /Developer/SDKs/MacOSX10.3.9.sdk;
};
name = Default;
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 16:53:03
|
Revision: 1688
http://svn.sourceforge.net/frontierkernel/?rev=1688&view=rev
Author: creecode
Date: 2007-06-17 09:53:01 -0700 (Sun, 17 Jun 2007)
Log Message:
-----------
don't include my_global.h on Mac
Modified Paths:
--------------
Frontier/branches/mysql/Common/source/langmysql.c
Modified: Frontier/branches/mysql/Common/source/langmysql.c
===================================================================
--- Frontier/branches/mysql/Common/source/langmysql.c 2007-06-17 16:04:47 UTC (rev 1687)
+++ Frontier/branches/mysql/Common/source/langmysql.c 2007-06-17 16:53:01 UTC (rev 1688)
@@ -1,1382 +1,1400 @@
-
-/* $Id: langmysql.c,v 2007/04/08 18:32:00 davidgewirtz Exp $ */
-
-/******************************************************************************
-
- UserLand Frontier(tm) -- High performance Web content management,
- object database, system-level and Internet scripting environment,
- including source code editing and debugging.
-
- Copyright (C) 1992-2004 UserLand Software, Inc.
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
-******************************************************************************/
-
-#include "frontier.h"
-#include "standard.h"
-
-#include "frontierconfig.h"
-
-#include "error.h"
-#include "ops.h"
-#include "langinternal.h"
-#include "kernelverbs.h"
-#include "kernelverbdefs.h"
-#include "resources.h"
-#include "strings.h"
-#include "tablestructure.h"
-#include "lang.h"
-#include "oplist.h"
-#include "langsystem7.h"
-#include "langexternal.h"
-
-#include "my_global.h"
-#include "mysql.h"
-#include "langmysql.h"
-
-#ifdef MACVERSION
-
- #include <sys/param.h>
-
-#endif // MACVERSION
-
-#include "file.h"
-
-#ifdef WIN95VERSION
-
- #define MAXPATHLEN 1024
-
-#endif // WIN95VERSION
-
-
-/* Building MySQL into Frontier
-
-See the Frontier Lab Notebook article:
-
-http://manila.zatz.com/frontierkernel/stories/storyReader$33
-
--- DG
-
-*/
-
-typedef enum tymysqlverbtoken { /* verbs that are processed by langmysql.c */
-
- initfunc,
- endfunc,
- connectfunc,
- compilequeryfunc,
- clearqueryfunc,
- getrowfunc,
- geterrornumberfunc,
- geterrormessagefunc,
- getclientinfofunc,
- getclientversionfunc,
- gethostinfofunc,
- getserverversionfunc,
- getprotocolinfofunc,
- getserverinfofunc,
- getqueryinfofunc,
- getaffectedrowcountfunc,
- getselectedrowcountfunc,
- getcolumncountfunc,
- getserverstatusfunc,
- getquerywarningcountfunc,
- pingserverfunc,
- seekrowfunc,
- selectdatabasefunc,
- getsqlstatefunc,
- escapestringfunc,
- isthreadsafefunc,
- closefunc,
- ctmysqlverbs
- } tymysqlverbtoken;
-
-
-static boolean mysqlfunctionvalue (short token, hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
-
- hdltreenode hp1 = hparam1;
- tyvaluerecord *v = vreturned;
-
- setbooleanvalue (false, v); /* by default, sqlite functions return false */
-
- switch (token) {
-
- case initfunc: { /* 2007-04-08 gewirtz: initialize MySQL */
- return (mysqlinitverb (hp1, v, bserror));
- } /* initfunc */
- case endfunc: { /* 2007-04-08 gewirtz: initialize MySQL */
- return (mysqlendverb (hp1, v, bserror));
- } /* endfunc */
- case connectfunc: { /* 2007-04-08 gewirtz: initialize MySQL */
- return (mysqlconnectverb (hp1, v, bserror));
- } /* connectfunc */
- case compilequeryfunc: { /* 2007-04-09 gewirtz: prepare a MySQL query */
- return (mysqlcompilequeryverb (hp1, v, bserror));
- } /* compilequeryfunc */
- case clearqueryfunc: { /* 2007-04-09 gewirtz: clear a MySQL query from memory */
- return (mysqlclearqueryverb (hp1, v, bserror));
- } /* clearqueryfunc */
- case getrowfunc: { /* 2007-04-09 gewirtz: get a full row from a query */
- return (mysqlgetrowverb (hp1, v, bserror));
- } /* getrowfunc */
- case geterrornumberfunc: { /* 2007-04-10 gewirtz: get the error number from the most recent call */
- return (mysqlgeterrornumberverb (hp1, v, bserror));
- } /* geterrornumberfunc */
- case geterrormessagefunc: { /* 2007-04-10 gewirtz: get the error message from the most recent call */
- return (mysqlgeterrormessageverb (hp1, v, bserror));
- } /* geterrormessagefunc */
- case getclientinfofunc: { /* 2007-04-10 gewirtz: get the MySQL client info */
- return (mysqlgetclientinfoverb (hp1, v, bserror));
- } /* getclientinfofunc */
- case getclientversionfunc: { /* 2007-04-10 gewirtz: get the MySQL client version */
- return (mysqlgetclientversionverb (hp1, v, bserror));
- } /* getclientversionfunc */
- case gethostinfofunc: { /* 2007-04-10 gewirtz: get the MySQL host info */
- return (mysqlgethostinfoverb (hp1, v, bserror));
- } /* gethostinfofunc */
- case getserverversionfunc: { /* 2007-04-10 gewirtz: get the MySQL server version */
- return (mysqlgetserverversionverb (hp1, v, bserror));
- } /* getserverversionfunc */
- case getprotocolinfofunc: { /* 2007-04-10 gewirtz: get the MySQL protocol info */
- return (mysqlgetprotocolinfoverb (hp1, v, bserror));
- } /* getprotocolinfofunc */
- case getserverinfofunc: { /* 2007-04-10 gewirtz: get the MySQL server info */
- return (mysqlgetserverinfoverb (hp1, v, bserror));
- } /* getserverinfofunc */
- case getqueryinfofunc: { /* 2007-04-10 gewirtz: get the results messages from the last query */
- return (mysqlgetqueryinfoverb (hp1, v, bserror));
- } /* getqueryinfofunc */
- case getaffectedrowcountfunc: { /* 2007-04-11 gewirtz: get the rows added, deleted, updated */
- return (mysqlgetaffectedrowcountverb (hp1, v, bserror));
- } /* getaffectedrowcountfunc */
- case getselectedrowcountfunc: { /* 2007-04-11 gewirtz: get the rows selected in last query */
- return (mysqlgetselectedrowcountverb (hp1, v, bserror));
- } /* getselectedrowcountfunc */
- case getcolumncountfunc: { /* 2007-04-11 gewirtz: get the columns returned in last query */
- return (mysqlgetcolumncountverb (hp1, v, bserror));
- } /* getcolumncountfunc */
- case getserverstatusfunc: { /* 2007-04-11 gewirtz: get the MySQL server status */
- return (mysqlgetserverstatusverb (hp1, v, bserror));
- } /* getserverstatusfunc */
- case getquerywarningcountfunc: { /* 2007-04-11 gewirtz: get the number of warnings returned by the last query */
- return (mysqlgetquerywarningcountverb (hp1, v, bserror));
- } /* getquerywarningcountfunc */
- case pingserverfunc: { /* 2007-04-11 gewirtz: check to see if there's still a connection with the server */
- return (mysqlpingserververb (hp1, v, bserror));
- } /* pingserverfunc */
- case seekrowfunc: { /* 2007-04-11 gewirtz: move to specific row in query result set */
- return (mysqlseekrowverb (hp1, v, bserror));
- } /* seekrowfunc */
- case selectdatabasefunc: { /* 2007-04-11 gewirtz: choose a MySQL database as current */
- return (mysqlselectdatabaseverb (hp1, v, bserror));
- } /* selectdatabasefunc */
- case getsqlstatefunc: { /* 2007-04-11 gewirtz: choose a MySQL database as current */
- return (mysqlgetsqlstateverb (hp1, v, bserror));
- } /* getsqlstatefunc */
- case escapestringfunc: { /* 2007-04-11 gewirtz: choose a MySQL database as current */
- return (mysqlescapestringverb (hp1, v, bserror));
- } /* escapestringfunc */
- case isthreadsafefunc: { /* 2007-04-11 gewirtz: choose a MySQL database as current */
- return (mysqlisthreadsafeverb (hp1, v, bserror));
- } /* isthreadsafefunc */
- case closefunc: { /* 2007-04-08 gewirtz: close a MySQL db */
- return (mysqlcloseverb (hp1, v, bserror));
- } /* closefunc */
- default:
- getstringlist (langerrorlist, unimplementedverberror, bserror);
- return (false);
- } /* switch */
- } /* mysqlfunctionvalue */
-
-
-boolean mysqlinitverbs (void) {
-
- return (loadfunctionprocessor (idmysqlverbs, &mysqlfunctionvalue));
- } /* mysqlinitverbs */
-
-boolean mysqlinitverb ( hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror ) {
- int resultCode;
- static char *server_args[] = {
- "this_program" // this string is not used
- // "--datadir=.", // these arguments aren't, either, since we're not using
- // "--key_buffer_size=32M" // the embedded server
- };
-
- /*
- mysql.init()
-
- Action: initializes the mySQL library.
- Params: none
- Returns: 0 if successful, otherwise an error
- Usage: call in a try statement, call before any other MySQL call
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-library-init.html
- */
-
- // Initialize the MySQL object
- resultCode = mysql_library_init(-1, server_args, NULL); // -1 means don't start embedded server
- if (resultCode != 0) {
- langerrormessage ("\x1B""MySQL could not initialize.");
- return (false);
- }
-
- return (setlongvalue ((long) resultCode, vreturned));
-
-} // mysqlinitverb
-
-boolean mysqlendverb ( hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror ) {
-
- /*
- mysql.end()
-
- Action: closes out the MySQL library
- Params: none
- Returns: true
- Usage: call in a try statement, call after any other MySQL call
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-library-end.html
- */
-
- // Close out the library
- mysql_library_end();
-
- return(setbooleanvalue (true, vreturned));
-
-} // mysqlendverb
-
-boolean mysqlconnectverb ( hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror ) {
-
- MYSQL *dbid; // the MySQL object handle
- Handle host; // hostname of the MySQL server
- Handle user; // valid username on the MySQL server
- Handle passwd; // password for user on MySQL server
- Handle dbname; // existing database on MySQL server
- long port; // TCP/IP port for the connection
-
- /*
- mysql.connect (host, user, password, database, port)
-
- Action: connects to a MySQL server and database, initializing the mySQL connection object
- Params: the hostname, user id, password, existing database name, and port
- Returns: a MySQL object handle or an error
- Usage: call in a try statement
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-init.html
- http://dev.mysql.com/doc/refman/5.1/en/mysql-real-connect.html
-
- If problems are encountered connecting to a Windows-based MySQL server, see:
- http://dev.mysql.com/doc/refman/5.1/en/can-not-connect-to-server.html#can-not-connect-to-server-on-windows
- */
-
- if (!gettextvalue (hparam1, 1, &host)) // get the host param
- return (false);
-
- if (!gettextvalue (hparam1, 2, &user)) // get the user param
- return (false);
-
- if (!gettextvalue (hparam1, 3, &passwd)) // get the passwd param
- return (false);
-
- if (!gettextvalue (hparam1, 4, &dbname)) // get the dbname param
- return (false);
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 5, &port)) // get the port param
- return (false);
-
- // Null terminate strings
- if (!pushcharhandle (0x00, host)) return (false);
- if (!pushcharhandle (0x00, user)) return (false);
- if (!pushcharhandle (0x00, passwd)) return (false);
- if (!pushcharhandle (0x00, dbname)) return (false);
-
- // Initialize the MySQL object
- dbid = mysql_init((MYSQL*) 0);
- if (dbid == NULL) {
- langerrormessage ("\x2D""MySQL could not allocate a connection object.");
- return (false);
- }
- // Attempt the connection
- dbid = mysql_real_connect(dbid, *host, *user, *passwd, *dbname, (unsigned int) port, NULL, 0 );
- if (dbid == NULL) {
- langerrormessage ("\x22""Could not connect to MySQL server.");
- return (false);
- }
-
- return (setlongvalue ((long) dbid, vreturned));
-
-} // mysqlconnectverb
-
-
-boolean mysqlcloseverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- int returnCode; // return code from close call
-
- /*
- mysql.close(dbid)
-
- Action: close a MySQL session
- Params: a database connection id, the MySQL object
- Returns: nothing
- Usage: there doesn't appear to be a way to check for success or failure
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-close.html
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the db pointer
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL sequence
- mysql_close(dbid);
- returnCode = 0; // placeholder for debugging. mysql_close doesn't return anything.
-
- return setlongvalue (returnCode, vreturned);
-
-} /* mysqlcloseverb */
-
-boolean mysqlcompilequeryverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- Handle query; // the SQL query passed to the MySQL server
- MYSQL *dbid; // the MySQL object handle
- MYSQL_RES *queryid; // the returned MySQL query id
- int returnCode; // return code from MySQL query
-
- /*
- mysql.compileQuery(dbid, query)
-
- Action: compile a MySQL query
- Params: a database connection id and a query string
- Returns: a query id
- Usage: call in a try statement
- Notes: there are a lot of possible approaches to queries in MySQL. We're using the
- mysql_store_result version, which is more flexible, but which could have
- some issues with large dataset returns.
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-query.html
- http://dev.mysql.com/doc/refman/5.1/en/mysql-store-result.html
- */
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) /* Get the long value, which becomes the db pointer */
- return (false);
-
- flnextparamislast = true; /* makes sure Frontier throws an error if more than one param is passed */
-
- if (!gettextvalue (hparam1, 2, &query)) // get the query param
- return (false);
-
- // Null terminate strings
- if (!pushcharhandle (0x00, query))
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the initial query sequence
- returnCode = mysql_query(dbid, *query);
- if(returnCode != 0) {
- langerrormessage ("\x21""Could not initialize MySQL query.");
- return (false);
- }
-
- queryid = mysql_store_result(dbid);
- if(mysql_errno(dbid) != 0) {
- langerrormessage ("\x21""Could initialize MySQL query.");
- return (false);
- }
-
- if (mysql_field_count(dbid) == 0)
- return (setlongvalue ((long) 0, vreturned)); // return 0 to the scripter
- else
- return (setlongvalue ((long) queryid, vreturned)); // return the db address to the scripter
-} /* mysqlcompilequeryverb */
-
-boolean mysqlclearqueryverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL_RES *queryid; // the returned MySQL query id
- int returnCode;
-
- /*
- mysql.clearQuery(queryid)
-
- Action: clear a MySQL query
- Params: a query id
- Returns: 0 (MySQL doesn't return anything)
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-free-result.html
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &queryid)) // Get the long value, which becomes the queryid pointer
- return (false);
-
- // Process the MySQL sequence
- mysql_free_result(queryid);
-
- returnCode = 0; // placeholder. mysql_free_result doesn't return anything.
- return setlongvalue (returnCode, vreturned);
-
-} /* mysqlclearqueryverb */
-
-
-boolean mysqlgetrowverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
-
- //
- // 2007-06-04 gewirtz: fix for returning TEXT type variant of BLOB
- // 2007-05-31 creedon, asseily: fix for crash when column_text is NULL, return nil
- // 2007-05-29 gewirtz: created
- //
-
- /*
-
- mysql.getRow(queryid)
-
- Action: return the next row from the query result set
- Params: a query id
- Returns: 0 if no more rows, or a Frontier list containing data
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-fetch-row.html
- http://dev.mysql.com/doc/refman/5.1/en/mysql-num-fields.html
- http://dev.mysql.com/doc/refman/5.1/en/mysql-field-seek.html
- http://dev.mysql.com/doc/refman/5.1/en/mysql-fetch-field.html
-
- Notes:
-
- MySQL might also return a 0 if there's an error. It's important to check
- for an error if a zero value is returned to differentiate between end of
- dataset and last row.
-
- The MySQL fetch_row function is interesting, in that it looks like
- each field returned is returned as a string. This is great for Frontier,
- since Frontier can't handle some of MySQL's bigger number types (like double),
- but it can handle strings. So everything that's supported is returned as
- a string to Frontier. The Frontier programmer can then do whatever
- coercing is necessary.
-
- The only formats we explicitly don't support are:
-
- MYSQL_TYPE_BIT
- MYSQL_TYPE_BLOB (although we do return TEXT, which is a BLOB variant)
- MYSQL_TYPE_SET
- MYSQL_TYPE_ENUM
- MYSQL_TYPE_GEOMETRY
- MYSQL_TYPE_NULL
-
- Formats supported and returned as string:
-
- MYSQL_TYPE_TINY
- MYSQL_TYPE_SHORT
- MYSQL_TYPE_LONG
- MYSQL_TYPE_INT24
- MYSQL_TYPE_LONGLONG
- MYSQL_TYPE_DECIMAL
- MYSQL_TYPE_NEWDECIMAL
- MYSQL_TYPE_FLOAT
- MYSQL_TYPE_DOUBLE
- MYSQL_TYPE_TIMESTAMP
- MYSQL_TYPE_DATE
- MYSQL_TYPE_TIME
- MYSQL_TYPE_DATETIME
- MYSQL_TYPE_YEAR
- MYSQL_TYPE_STRING
- MYSQL_TYPE_VAR_STRING
-
- More info: http://dev.mysql.com/doc/refman/5.1/en/c-api-datatypes.html
-
- */
-
- unsigned int fieldNumber; /* field number */
- unsigned int fieldCount; /* number of fields */
- MYSQL_RES *queryid; /* query id */
- MYSQL_ROW row;
- MYSQL_FIELD *field;
- hdllistrecord hlist;
- Handle returnH;
- const unsigned char *column_text;
- tyvaluerecord val;
-
-
- flnextparamislast = true; /* makes sure Frontier throws an error if more than one param is passed */
-
- if (!getlongvalue (hparam1, 1, (long *) &queryid)) /* Get the long value, which becomes the queryid pointer */
- return (false);
-
- row = mysql_fetch_row(queryid);
- if (row == NULL) {
- // return 0, meaning no more rows
- // **** NOTE THIS COULD ALSO MEAN AN ERROR, MIGHT BE GOOD TO CHECK
- return (setlongvalue ((long) 0, vreturned));
- }
-
- fieldCount = mysql_num_fields(queryid);
-
- if (fieldCount == 0) {
- langerrormessage ("\x2D""MySQL.getRow requires a minimum of one field.");
- return (false);
- }
-
- mysql_field_seek(queryid, 0); // restart gathering field data from the first field
-
- if (!opnewlist (&hlist, false)) // fail out if we can't create the list
- return (false);
-
- for (fieldNumber=0; fieldNumber<fieldCount; ++fieldNumber) {
-
- field = mysql_fetch_field(queryid);
-
- switch(field->type) {
- case MYSQL_TYPE_TINY:
- case MYSQL_TYPE_SHORT:
- case MYSQL_TYPE_LONG:
- case MYSQL_TYPE_INT24:
- case MYSQL_TYPE_LONGLONG:
- case MYSQL_TYPE_DECIMAL:
- case MYSQL_TYPE_NEWDECIMAL:
- case MYSQL_TYPE_FLOAT:
- case MYSQL_TYPE_DOUBLE:
- case MYSQL_TYPE_TIMESTAMP:
- case MYSQL_TYPE_DATE:
- case MYSQL_TYPE_TIME:
- case MYSQL_TYPE_DATETIME:
- case MYSQL_TYPE_YEAR:
- case MYSQL_TYPE_STRING:
- case MYSQL_TYPE_VAR_STRING:
- case MYSQL_TYPE_BLOB:
- {
- if (field->type == MYSQL_TYPE_BLOB) {
- // This is a special case, to see if the type is really TEXT
- if (field->charsetnr == 63) {
- // binary data, see http://dev.mysql.com/doc/refman/5.0/en/c-api-datatypes.html
- if (!langpushlistlong (hlist, (long) 0))
- goto error;
- return (setheapvalue ((Handle) hlist, listvaluetype, vreturned));
- }
- }
- column_text = row[fieldNumber];
-
- if ( column_text == NULL )
-
- setnilvalue ( &val );
-
- else {
-
- // Exit the verb, converting column_name back to Frontier handle
- if (!newfilledhandle ((ptrvoid) column_text, strlen (column_text), &returnH))
- return false; /* Allocation failed */
- if (!setheapvalue (returnH, stringvaluetype, &val)) // convert handle to value
- goto error;
-
- }
-
- if (!langpushlistval (hlist, nil, &val))
- goto error;
- break;
- }
- default: {
- if (!langpushlistlong (hlist, (long) 0))
- goto error;
- }
- } /* switch */
- } /* for */
-
- return (setheapvalue ((Handle) hlist, listvaluetype, vreturned));
-
- error: {
- opdisposelist (hlist);
- return (false);
- }
-
-} /* mysqlgetrow */
-
-
-boolean mysqlgeterrornumberverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- unsigned int returnCode; // return code from MySQL call
-
- /*
- mysql.getErrorNumber(dbid)
-
- Action: get the most recent MySQL error code
- Params: a database connection id
- Returns: the error number, 0 if no error
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-errno.html
- http://dev.mysql.com/doc/refman/5.1/en/errors-handling.html
- */
-
- flnextparamislast = true; /* makes sure Frontier throws an error if more than one param is passed */
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) /* Get the long value, which becomes the pline pointer */
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL call
- returnCode = mysql_errno(dbid);
-
- return (setlongvalue ((long) returnCode, vreturned));
-
-} /* mysqlgeterrornumberverb */
-
-boolean mysqlgeterrormessageverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- const char *mysqlError; // pointer to the error message
- Handle returnH = nil; // The handle being returned back to Frontier
-
- /*
- mysql.getErrorMessage(dbid)
-
- Action: get the most recent MySQL error code
- Params: a database connection id
- Returns: a string containing the error message
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-error.html
- http://dev.mysql.com/doc/refman/5.1/en/errors-handling.html
- */
-
- flnextparamislast = true; /* makes sure Frontier throws an error if more than one param is passed */
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) /* Get the long value, which becomes the db pointer */
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL sequence
- mysqlError = mysql_error(dbid);
-
- // Exit the verb, converting errMsg back to Frontier handle
- if(!newfilledhandle ((ptrvoid) mysqlError, strlen (mysqlError), &returnH))
- return false; // Allocation failed
-
- return (setheapvalue (returnH, stringvaluetype, vreturned));
-
-} /* mysqlgeterrormessageverb */
-
-boolean mysqlgetclientinfoverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- const char *mysqlMsg; // pointer to the message
- Handle returnH = nil; // The handle being returned back to Frontier
-
- /*
- mysql.getClientInfo()
-
- Action: get the version of the MySQL client
- Params: none
- Returns: a string containing the version of the MySQL client in human-recognizable form
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-get-client-info.html
- */
-
- // Process the MySQL sequence
- mysqlMsg = mysql_get_client_info();
-
- // Exit the verb, converting errMsg back to Frontier handle
- if(!newfilledhandle ((ptrvoid) mysqlMsg, strlen (mysqlMsg), &returnH))
- return false; // Allocation failed
-
- return (setheapvalue (returnH, stringvaluetype, vreturned));
-
-} /* mysqlgetclientinfoverb */
-
-boolean mysqlgetclientversionverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- unsigned long returnCode; // The number being returned back to Frontier
-
-
- /*
- mysql.getClientVersion()
-
- Action: get the version of the MySQL client as an integer
- Params: none
- Returns: an integer containing the version of the MySQL client
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-get-client-version.html
-
- Notes:
-
- Returns an integer that represents the client library version.
- The value has the format XYYZZ where X is the major version, YY is the release
- level, and ZZ is the version number within the release level.
- For example, a value of 40102 represents a client library version of 4.1.2.
- */
-
- // Process the MySQL call
- returnCode = mysql_get_client_version();
-
- return (setlongvalue ((long) returnCode, vreturned));
-
-} /* mysqlgetclientversionverb */
-
-boolean mysqlgethostinfoverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- const char *mysqlMsg; // pointer to the message
- Handle returnH = nil; // The handle being returned back to Frontier
-
- /*
- mysql.getHostInfo(dbid)
-
- Action: get information about connection to the host
- Params: a database connection id
- Returns: a string containing information about the host in human-recognizable form
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-get-host-info.html
- */
-
- flnextparamislast = true; /* makes sure Frontier throws an error if more than one param is passed */
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) /* Get the long value, which becomes the db pointer */
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL call
- mysqlMsg = mysql_get_host_info(dbid);
-
- // Exit the verb, converting errMsg back to Frontier handle
- if(!newfilledhandle ((ptrvoid) mysqlMsg, strlen (mysqlMsg), &returnH))
- return false; // Allocation failed
-
- return (setheapvalue (returnH, stringvaluetype, vreturned));
-
-} /* mysqlgethostinfoverb */
-
-boolean mysqlgetserverversionverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- unsigned long returnCode; // the return code
- Handle returnH = nil; // The handle being returned back to Frontier
-
- /*
- mysql.getServerVersion(dbid)
-
- Action: get information about connection to the MySQL server
- Params: a database connection id
- Returns: an integer containing the version of the MySQL server
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-get-server-version.html
-
- Notes:
-
- Return format is a number that represents the MySQL server version in
- this format:
-
- major_version*10000 + minor_version *100 + sub_version
-
- For example, 5.1.5 is returned as 50105. This function is useful in client
- programs for quickly determining whether some version-specific
- server capability exists.
- */
-
- flnextparamislast = true; /* makes sure Frontier throws an error if more than one param is passed */
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) /* Get the long value, which becomes the db pointer */
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL call
- returnCode = mysql_get_server_version(dbid);
-
- // Exit the verb, converting errMsg back to Frontier handle
- return (setlongvalue ((long) returnCode, vreturned));
-
-} /* mysqlgetserverversionverb */
-
-boolean mysqlgetprotocolinfoverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- unsigned int returnCode; // the return code
- Handle returnH = nil; // The handle being returned back to Frontier
-
- /*
- mysql.getProtocolInfo(dbid)
-
- Action: get information about the MySQL protocol version
- Params: a database connection id
- Returns: an integer containing the protocol version used by current connection
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-get-proto-info.html
-
- Notes:
-
- Returns an integer. This call is unlikely to be used, but provided for
- completeness and because it was easy to code. To better understand the
- MySQL protocol, read:
-
- http://www.redferni.uklinux.net/mysql/MySQL-Protocol.html
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the db pointer
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL sequence
- returnCode = mysql_get_proto_info(dbid);
-
- // Exit the verb, converting errMsg back to Frontier handle
- return (setlongvalue ((long) returnCode, vreturned));
-
-} /* mysqlgetprotocolinfoverb */
-
-boolean mysqlgetserverinfoverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- const char *mysqlMsg; // pointer to the message
- Handle returnH = nil; // The handle being returned back to Frontier
-
-
- /*
- mysql.getServerInfo(dbid)
-
- Action: get information about the MySQL server version
- Params: a database connection id
- Returns: a string containing information about the server version
- in human-recognizable form
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-get-server-info.html
-
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the db pointer
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL call
- mysqlMsg = mysql_get_server_info(dbid);
-
- // Exit the verb, converting errMsg back to Frontier handle
- if(!newfilledhandle ((ptrvoid) mysqlMsg, strlen (mysqlMsg), &returnH))
- return false; // Allocation failed
-
- return (setheapvalue (returnH, stringvaluetype, vreturned));
-
-} /* mysqlgetserverinfoverb */
-
-boolean mysqlgetqueryinfoverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- const char *mysqlMsg; // pointer to the message
- Handle returnH = nil; // The handle being returned back to Frontier
-
- /*
- mysql.getQueryInfo(dbid)
-
- Action: get information about the most recently executed MySQL query
- Params: a database connection id
- Returns: a string containing information about the query
- in human-recognizable form
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-info.html
-
- Note:
-
- This function returns result data only for certain queries of the form:
-
- INSERT INTO ... SELECT ...
- INSERT INTO ... VALUES (...),(...),(...)...
- LOAD DATA INFILE ...
- ALTER TABLE
- UPDATE
-
- For all other, the routine returns ""
-
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the db pointer
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL sequence
- mysqlMsg = mysql_info(dbid);
-
- if (mysqlMsg == NULL) {
- // Exit the verb, converting errMsg back to Frontier handle
- if(!newfilledhandle ((ptrvoid) "", 0, &returnH))
- return false; // Allocation failed
- } else {
- // Exit the verb, converting errMsg back to Frontier handle
- if(!newfilledhandle ((ptrvoid) mysqlMsg, strlen (mysqlMsg), &returnH))
- return false; // Allocation failed
- }
-
- return (setheapvalue (returnH, stringvaluetype, vreturned));
-
-} /* mysqlgetqueryinfoverb */
-
-boolean mysqlgetaffectedrowcountverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- my_ulonglong rowCount; // this datastructure is too big for Frontier
-
- /*
- mysql.getAffectedRowCount(dbid)
-
- Action: gets a numeric value corresponding to the number of rows changed/deleted
- Params: a database connection id
- Returns: double-value (the number of rows could be very high)
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-affected-rows.html
-
- Note:
-
- Returns the number of rows changed (for UPDATE), deleted (for DELETE), or inserted
- (for INSERT). For SELECT statements, works like mysql.getSelectedRowCount()
-
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the pointer
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL call
- rowCount = mysql_affected_rows(dbid);
-
- return (setdoublevalue ((double) rowCount, vreturned));
-
-} /* mysqlgetaffectedrowcountverb */
-
-boolean mysqlgetselectedrowcountverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL_RES *queryid; // query id
- my_ulonglong rowCount; // this datastructure is too big for Frontier
-
- /*
- mysql.getSelectedRowCount(queryid)
-
- Action: gets the number of rows in the return set from a query
- Params: a database query id
- Returns: double-value (the number of rows could be very high)
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-num-rows.html
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &queryid)) // Get the long value, which becomes the pointer
- return (false);
-
- // Process the MySQL call
- rowCount = mysql_num_rows(queryid);
-
- return (setdoublevalue ((double) rowCount, vreturned));
-
-} /* mysqlgetselectedrowcountverb */
-
-boolean mysqlgetcolumncountverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- unsigned int returnCode; // return code from MySQL call
-
- /*
- mysql.getColumnCount(dbid)
-
- Action: gets the number of columns from the most recent query
- Params: a database connection id
- Returns: number corresponding to the column count
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-field-count.html
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the pline pointer
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL call
- returnCode = mysql_field_count(dbid);
-
- return (setlongvalue ((long) returnCode, vreturned));
-
-} /* mysqlgetcolumncountverb */
-
-boolean mysqlgetserverstatusverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- const char *mysqlStatus; // pointer to the status message
- Handle returnH = nil; // The handle being returned back to Frontier
-
- /*
- mysql.getServerStatus(dbid)
-
- Action: gets server status
- Params: a database connection id
- Returns: string containing detailed server status info (uptime, threads, etc.)
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-stat.html
-
- Note:
-
- Status will fail/crash if mysql.connect() hasn't previously succeeded. It'll
- be messy, so check your result codes.
- */
-
- flnextparamislast = true; /* makes sure Frontier throws an error if more than one param is passed */
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) /* Get the long value, which becomes the db pointer */
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL sequence
- mysqlStatus = mysql_stat(dbid);
-
- if (mysqlStatus == NULL) {
- return (setlongvalue ((long) 0, vreturned));
- }
- else {
- // Exit the verb, converting errMsg back to Frontier handle
- if(!newfilledhandle ((ptrvoid) mysqlStatus, strlen (mysqlStatus), &returnH))
- return false; // Allocation failed
- }
-
- return (setheapvalue (returnH, stringvaluetype, vreturned));
-
-} /* mysqlgetserverstatusverb */
-
-boolean mysqlgetquerywarningcountverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- unsigned int returnCode; // return code from MySQL call
-
- /*
- mysql.getQueryWarningCount(dbid)
-
- Action: gets warning count from a query
- Params: a database connection id
- Returns: the number of warnings generated during execution of the previous SQL statement.
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-warning-count.html
-
- Note:
-
- Obviously, you should check this when performing queries.
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the pline pointer
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL call
- returnCode = mysql_warning_count(dbid);
-
- return (setlongvalue ((long) returnCode, vreturned));
-
-} /* mysqlgetquerywarningcountverb */
-
-boolean mysqlpingserververb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- unsigned int returnCode; // return code from MySQL call
-
- /*
- mysql.pingServer(dbid)
-
- Action: checks to make sure the connection to the server is up
- Params: a database connection id
- Returns: 0, if the connection is alive
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-ping.html
-
- Note:
-
- mysql.pingServer() attempts to reconnect if the connection went down.
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the pline pointer
- return (false);
-
- // Process the MySQL call
- returnCode = mysql_ping(dbid);
-
- return (setlongvalue ((long) returnCode, vreturned));
-
-} /* mysqlpingserververb */
-
-boolean mysqlseekrowverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL_RES *queryid; // the returned MySQL query id
- tyvaluerecord v1;
- double row; // row to seek
-
- /*
- mysql.seekRow(queryid, row)
-
- Action: seeks to the specified row number in the data set
- Params: a database query id, the row
- Returns: 0 (MySQL doesn't return anything, so there's no meaning here)
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-data-seek.html
-
- Note:
-
- MySQL uses base-0 numbering while Frontier uses base-1. If you want MySQL
- to find the first row, pass 1 from Frontier. This routine will decrement
- the value, and see row 0 via the MySQL call.
-
- Because there could be a LOT of rows in a results dataset, the value
- passed from Frontier can be a double (although conversion is done from
- regular integers and longs).
- */
-
- if (!getlongvalue (hparam1, 1, (long *) &queryid)) // Get the long value, which becomes the query pointer
- return (false);
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getdoubleparam (hparam1, 2, &v1)) // get the seek row
- return (false);
-
- row = **v1.data.doublevalue;
- if (row > 0) {
- --row; // adjust for Frontier's base of 1
- }
- else {
- langerrormessage ("\x2F""MySQL.seekRow requires a value of 1 or greater.");
- return (false);
- }
-
- mysql_data_seek(queryid, (my_ulonglong) row);
-
- return (setlongvalue ((long) 0, vreturned));
-
-} /* mysqlseekrowverb */
-
-boolean mysqlselectdatabaseverb ( hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror ) {
-
- MYSQL *dbid; // the MySQL object handle
- int resultCode; // result code
- Handle dbname; // existing database on MySQL server
-
- /*
- mysql.selectDatabase(dbid, database)
-
- Action: changes the currently active database
- Params: a database connection id, an existing database name
- Returns: 0 if successful, throws an error otherwise
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-select-db.html
- */
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the db pointer
- return (false);
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!gettextvalue (hparam1, 2, &dbname)) // get the dbname param
- return (false);
-
- // Null terminate strings
- if (!pushcharhandle (0x00, dbname))
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL request
- resultCode = mysql_select_db(dbid, *dbname);
- if (resultCode != 0) {
- langerrormessage ("\x24""Could not connect to MySQL database.");
- return (false);
- }
-
- return (setlongvalue ((long) 0, vreturned));
-
-} /* mysqlselectdatabaseverb */
-
-boolean mysqlgetsqlstateverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- const char *mysqlStatus; // pointer to the status message
- Handle returnH = nil; // The handle being returned back to Frontier
-
- /*
- mysql.getSQLState(dbid)
-
- Action: a null-terminated string containing the SQLSTATE error code
- for the most recently executed SQL statement.
- Params: a database connection id
- Returns: a string corresponding to the defined SQLSTATE codes
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-sqlstate.html
-
- Notes: SQLSTATE is part of the SQL standard. These codes are likely to be used
- only by purists, but it's included here for completeness. Aren't we all
- so lucky?
- */
-
- flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the db pointer
- return (false);
-
- // Check that server's still alive
- if (mysql_ping(dbid) != 0) {
- langerrormessage ("\x20""Lost connection to MySQL server.");
- return (false);
- }
-
- // Process the MySQL sequence
- mysqlStatus = mysql_sqlstate(dbid);
-
- // Exit the verb, converting errMsg back to Frontier handle
- if(!newfilledhandle ((ptrvoid) mysqlStatus, strlen (mysqlStatus), &returnH))
- return false; // Allocation failed
-
- return (setheapvalue (returnH, stringvaluetype, vreturned));
-
-} /* mysqlgetsqlstateverb */
-
-boolean mysqlescapestringverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- MYSQL *dbid; // the MySQL object handle
- Handle fromstring;
- Handle tostring;
- unsigned long size;
- unsigned long encodedSize;
- Handle returnH = nil; // The handle being returned back to Frontier
-
- /*
- mysql.escapeString(dbid, string)
-
- Action: creates a legal SQL string that you can use in an SQL statement
- Params: a database connection id, a string containing SQL
- Returns: a cleaned up string
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-real-escape-string.html
-
- Notes: dbid is required because the string returned is the character set in
- use by the server
- */
-
- if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the pline pointer
- return (false);
-
- flnextparamislast = true; // makes sure Frontier throws an error
-
- if (!gettextvalue (hparam1, 2, &fromstring)) // get the from param
- return (false);
-
- // Null terminate strings
- if (!pushcharhandle (0x00, fromstring))
- return (false);
-
- size = strlen(*fromstring);
-
- if(!newhandle (size*2+1, &tostring)) {
- return false;
- }
-
- encodedSize = mysql_real_escape_string(dbid, *tostring, *fromstring, size);
-
- // Exit the verb, converting the allocated string back to Frontier handle
- if(!newfilledhandle ((ptrvoid) *tostring, encodedSize, &returnH)) {
- return false; // Allocation failed
- }
-
- disposehandle(tostring);
-
- return (setheapvalue (returnH, stringvaluetype, vreturned));
-
-} /* mysqlescapestringverb */
-
-boolean mysqlisthreadsafeverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
- unsigned long returnCode; // The number being returned back to Frontier
-
- /*
- mysql.isThreadSafe()
-
- Action: checks to see if the version of the MySQL client linked in is threadsafe
- Params: none
- Returns: true if safe, false if not
-
- MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-thread-safe.html
-
- Notes:
-
- This is unlikely to be used by the Frontier scripter, but is an easy check to be sure
- the right MySQL client is being linked into the Frontier kernel.
- */
-
- // Process the MySQL call
- returnCode = mysql_thread_safe();
-
- if (returnCode == 1)
- return(setbooleanvalue (true, vreturned));
- else
- return(setbooleanvalue (false, vreturned));
-
-} /* mysqlisthreadsafeverb */
\ No newline at end of file
+
+/* $Id: langmysql.c,v 2007/04/08 18:32:00 davidgewirtz Exp $ */
+
+/******************************************************************************
+
+ UserLand Frontier(tm) -- High performance Web content management,
+ object database, system-level and Internet scripting environment,
+ including source code editing and debugging.
+
+ Copyright (C) 1992-2004 UserLand Software, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+******************************************************************************/
+
+#include "frontier.h"
+#include "standard.h"
+
+#include "frontierconfig.h"
+
+#include "error.h"
+#include "ops.h"
+#include "langinternal.h"
+#include "kernelverbs.h"
+#include "kernelverbdefs.h"
+#include "resources.h"
+#include "strings.h"
+#include "tablestructure.h"
+#include "lang.h"
+#include "oplist.h"
+#include "langsystem7.h"
+
+#ifdef WIN95VERSION
+
+ #include "my_global.h"
+
+#endif // WIN95VERSION
+
+#include "mysql.h"
+#include "langmysql.h"
+
+
+/*
+
+Building MySQL into Frontier
+
+See the Frontier Lab Notebook article:
+
+http://manila.zatz.com/frontierkernel/stories/storyReader$33
+
+-- DG
+
+*/
+
+
+typedef enum tymysqlverbtoken { /* verbs that are processed by langmysql.c */
+
+ initfunc,
+ endfunc,
+ connectfunc,
+ compilequeryfunc,
+ clearqueryfunc,
+ getrowfunc,
+ geterrornumberfunc,
+ geterrormessagefunc,
+ getclientinfofunc,
+ getclientversionfunc,
+ gethostinfofunc,
+ getserverversionfunc,
+ getprotocolinfofunc,
+ getserverinfofunc,
+ getqueryinfofunc,
+ getaffectedrowcountfunc,
+ getselectedrowcountfunc,
+ getcolumncountfunc,
+ getserverstatusfunc,
+ getquerywarningcountfunc,
+ pingserverfunc,
+ seekrowfunc,
+ selectdatabasefunc,
+ getsqlstatefunc,
+ escapestringfunc,
+ isthreadsafefunc,
+ closefunc,
+ ctmysqlverbs
+ } tymysqlverbtoken;
+
+
+static boolean mysqlfunctionvalue (short token, hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
+
+ hdltreenode hp1 = hparam1;
+ tyvaluerecord *v = vreturned;
+
+ setbooleanvalue (false, v); /* by default, sqlite functions return false */
+
+ switch (token) {
+
+ case initfunc: { /* 2007-04-08 gewirtz: initialize MySQL */
+ return (mysqlinitverb (hp1, v, bserror));
+ } /* initfunc */
+ case endfunc: { /* 2007-04-08 gewirtz: initialize MySQL */
+ return (mysqlendverb (hp1, v, bserror));
+ } /* endfunc */
+ case connectfunc: { /* 2007-04-08 gewirtz: initialize MySQL */
+ return (mysqlconnectverb (hp1, v, bserror));
+ } /* connectfunc */
+ case compilequeryfunc: { /* 2007-04-09 gewirtz: prepare a MySQL query */
+ return (mysqlcompilequeryverb (hp1, v, bserror));
+ } /* compilequeryfunc */
+ case clearqueryfunc: { /* 2007-04-09 gewirtz: clear a MySQL query from memory */
+ return (mysqlclearqueryverb (hp1, v, bserror));
+ } /* clearqueryfunc */
+ case getrowfunc: { /* 2007-04-09 gewirtz: get a full row from a query */
+ return (mysqlgetrowverb (hp1, v, bserror));
+ } /* getrowfunc */
+ case geterrornumberfunc: { /* 2007-04-10 gewirtz: get the error number from the most recent call */
+ return (mysqlgeterrornumberverb (hp1, v, bserror));
+ } /* geterrornumberfunc */
+ case geterrormessagefunc: { /* 2007-04-10 gewirtz: get the error message from the most recent call */
+ return (mysqlgeterrormessageverb (hp1, v, bserror));
+ } /* geterrormessagefunc */
+ case getclientinfofunc: { /* 2007-04-10 gewirtz: get the MySQL client info */
+ return (mysqlgetclientinfoverb (hp1, v, bserror));
+ } /* getclientinfofunc */
+ case getclientversionfunc: { /* 2007-04-10 gewirtz: get the MySQL client version */
+ return (mysqlgetclientversionverb (hp1, v, bserror));
+ } /* getclientversionfunc */
+ case gethostinfofunc: { /* 2007-04-10 gewirtz: get the MySQL host info */
+ return (mysqlgethostinfoverb (hp1, v, bserror));
+ } /* gethostinfofunc */
+ case getserverversionfunc: { /* 2007-04-10 gewirtz: get the MySQL server version */
+ return (mysqlgetserverversionverb (hp1, v, bserror));
+ } /* getserverversionfunc */
+ case getprotocolinfofunc: { /* 2007-04-10 gewirtz: get the MySQL protocol info */
+ return (mysqlgetprotocolinfoverb (hp1, v, bserror));
+ } /* getprotocolinfofunc */
+ case getserverinfofunc: { /* 2007-04-10 gewirtz: get the MySQL server info */
+ return (mysqlgetserverinfoverb (hp1, v, bserror));
+ } /* getserverinfofunc */
+ case getqueryinfofunc: { /* 2007-04-10 gewirtz: get the results messages from the last query */
+ return (mysqlgetqueryinfoverb (hp1, v, bserror));
+ } /* getqueryinfofunc */
+ case getaffectedrowcountfunc: { /* 2007-04-11 gewirtz: get the rows added, deleted, updated */
+ return (mysqlgetaffectedrowcountverb (hp1, v, bserror));
+ } /* getaffectedrowcountfunc */
+ case getselectedrowcountfunc: { /* 2007-04-11 gewirtz: get the rows selected in last query */
+ return (mysqlgetselectedrowcountverb (hp1, v, bserror));
+ } /* getselectedrowcountfunc */
+ case getcolumncountfunc: { /* 2007-04-11 gewirtz: get the columns returned in last query */
+ return (mysqlgetcolumncountverb (hp1, v, bserror));
+ } /* getcolumncountfunc */
+ case getserverstatusfunc: { /* 2007-04-11 gewirtz: get the MySQL server status */
+ return (mysqlgetserverstatusverb (hp1, v, bserror));
+ } /* getserverstatusfunc */
+ case getquerywarningcountfunc: { /* 2007-04-11 gewirtz: get the number of warnings returned by the last query */
+ return (mysqlgetquerywarningcountverb (hp1, v, bserror));
+ } /* getquerywarningcountfunc */
+ case pingserverfunc: { /* 2007-04-11 gewirtz: check to see if there's still a connection with the server */
+ return (mysqlpingserververb (hp1, v, bserror));
+ } /* pingserverfunc */
+ case seekrowfunc: { /* 2007-04-11 gewirtz: move to specific row in query result set */
+ return (mysqlseekrowverb (hp1, v, bserror));
+ } /* seekrowfunc */
+ case selectdatabasefunc: { /* 2007-04-11 gewirtz: choose a MySQL database as current */
+ return (mysqlselectdatabaseverb (hp1, v, bserror));
+ } /* selectdatabasefunc */
+ case getsqlstatefunc: { /* 2007-04-11 gewirtz: choose a MySQL database as current */
+ return (mysqlgetsqlstateverb (hp1, v, bserror));
+ } /* getsqlstatefunc */
+ case escapestringfunc: { /* 2007-04-11 gewirtz: choose a MySQL database as current */
+ return (mysqlescapestringverb (hp1, v, bserror));
+ } /* escapestringfunc */
+ case isthreadsafefunc: { /* 2007-04-11 gewirtz: choose a MySQL database as current */
+ return (mysqlisthreadsafeverb (hp1, v, bserror));
+ } /* isthreadsafefunc */
+ case closefunc: { /* 2007-04-08 gewirtz: close a MySQL db */
+ return (mysqlcloseverb (hp1, v, bserror));
+ } /* closefunc */
+ default:
+ getstringlist (langerrorlist, unimplementedverberror, bserror);
+ return (false);
+ } /* switch */
+ } /* mysqlfunctionvalue */
+
+
+boolean mysqlinitverbs (void) {
+
+ return (loadfunctionprocessor (idmysqlverbs, &mysqlfunctionvalue));
+ } /* mysqlinitverbs */
+
+
+boolean mysqlinitverb ( hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror ) {
+ int resultCode;
+ static char *server_args[] = {
+ "this_program" // this string is not used
+ // "--datadir=.", // these arguments aren't, either, since we're not using
+ // "--key_buffer_size=32M" // the embedded server
+ };
+
+ /*
+ mysql.init()
+
+ Action: initializes the mySQL library.
+ Params: none
+ Returns: 0 if successful, otherwise an error
+ Usage: call in a try statement, call before any other MySQL call
+
+ MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-library-init.html
+ */
+
+ // Initialize the MySQL object
+ resultCode = mysql_library_init(-1, server_args, NULL); // -1 means don't start embedded server
+ if (resultCode != 0) {
+ langerrormessage ("\x1B""MySQL could not initialize.");
+ return (false);
+ }
+
+ return (setlongvalue ((long) resultCode, vreturned));
+
+} // mysqlinitverb
+
+
+boolean mysqlendverb ( hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror ) {
+
+ /*
+ mysql.end()
+
+ Action: closes out the MySQL library
+ Params: none
+ Returns: true
+ Usage: call in a try statement, call after any other MySQL call
+
+ MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-library-end.html
+ */
+
+ // Close out the library
+ mysql_library_end();
+
+ return(setbooleanvalue (true, vreturned));
+
+} // mysqlendverb
+
+
+boolean mysqlconnectverb ( hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror ) {
+
+ MYSQL *dbid; // the MySQL object handle
+ Handle host; // hostname of the MySQL server
+ Handle user; // valid username on the MySQL server
+ Handle passwd; // password for user on MySQL server
+ Handle dbname; // existing database on MySQL server
+ long port; // TCP/IP port for the connection
+
+ /*
+ mysql.connect (host, user, password, database, port)
+
+ Action: connects to a MySQL server and database, initializing the mySQL connection object
+ Params: the hostname, user id, password, existing database name, and port
+ Returns: a MySQL object handle or an error
+ Usage: call in a try statement
+
+ MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-init.html
+ http://dev.mysql.com/doc/refman/5.1/en/mysql-real-connect.html
+
+ If problems are encountered connecting to a Windows-based MySQL server, see:
+ http://dev.mysql.com/doc/refman/5.1/en/can-not-connect-to-server.html#can-not-connect-to-server-on-windows
+ */
+
+ if (!gettextvalue (hparam1, 1, &host)) // get the host param
+ return (false);
+
+ if (!gettextvalue (hparam1, 2, &user)) // get the user param
+ return (false);
+
+ if (!gettextvalue (hparam1, 3, &passwd)) // get the passwd param
+ return (false);
+
+ if (!gettextvalue (hparam1, 4, &dbname)) // get the dbname param
+ return (false);
+
+ flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
+
+ if (!getlongvalue (hparam1, 5, &port)) // get the port param
+ return (false);
+
+ // Null terminate strings
+ if (!pushcharhandle (0x00, host)) return (false);
+ if (!pushcharhandle (0x00, user)) return (false);
+ if (!pushcharhandle (0x00, passwd)) return (false);
+ if (!pushcharhandle (0x00, dbname)) return (false);
+
+ // Initialize the MySQL object
+ dbid = mysql_init((MYSQL*) 0);
+ if (dbid == NULL) {
+ langerrormessage ("\x2D""MySQL could not allocate a connection object.");
+ return (false);
+ }
+ // Attempt the connection
+ dbid = mysql_real_connect(dbid, *host, *user, *passwd, *dbname, (unsigned int) port, NULL, 0 );
+ if (dbid == NULL) {
+ langerrormessage ("\x22""Could not connect to MySQL server.");
+ return (false);
+ }
+
+ return (setlongvalue ((long) dbid, vreturned));
+
+} // mysqlconnectverb
+
+
+boolean mysqlcloseverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
+ MYSQL *dbid; // the MySQL object handle
+ int returnCode; // return code from close call
+
+ /*
+ mysql.close(dbid)
+
+ Action: close a MySQL session
+ Params: a database connection id, the MySQL object
+ Returns: nothing
+ Usage: there doesn't appear to be a way to check for success or failure
+
+ MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-close.html
+ */
+
+ flnextparamislast = true; // makes sure Frontier throws an error if more than one param is passed
+
+ if (!getlongvalue (hparam1, 1, (long *) &dbid)) // Get the long value, which becomes the db pointer
+ return (false);
+
+ // Check that server's still alive
+ if (mysql_ping(dbid) != 0) {
+ langerrormessage ("\x20""Lost connection to MySQL server.");
+ return (false);
+ }
+
+ // Process the MySQL sequence
+ mysql_close(dbid);
+ returnCode = 0; // placeholder for debugging. mysql_close doesn't return anything.
+
+ return setlongvalue (returnCode, vreturned);
+
+} /* mysqlcloseverb */
+
+
+boolean mysqlcompilequeryverb (hdltreenode hparam1, tyvaluerecord *vreturned, bigstring bserror) {
+ Handle query; // the SQL query passed to the MySQL server
+ MYSQL *dbid; // the MySQL object handle
+ MYSQL_RES *queryid; // the returned MySQL query id
+ int returnCode; // return code from MySQL query
+
+ /*
+ mysql.compileQuery(dbid, query)
+
+ Action: compile a MySQL query
+ Params: a database connection id and a query string
+ Returns: a query id
+ Usage: call in a try statement
+ Notes: there are a lot of possible approaches to queries in MySQL. We're using the
+ mysql_store_result version, which is more flexible, but which could have
+ some issues with large dataset returns.
+
+ MySQL docs: http://dev.mysql.com/doc/refman/5.1/en/mysql-query.html
+ http://dev.mysql.com/doc/refman/5.1/en/mysql-store-result.html
+ */
+
+ if (!getlongvalue (hparam1, 1, (long *) &dbid)) /* Get the long value, which becomes the db pointer */
+ return (false);
+
+ flnextparamislast = true; /* makes sure Frontier throws an error if more than one param is passed */
+
+ if (!gettextvalue (hparam1, 2, &query)) // get the query param
+ return (false);
+
+ // Null terminate strings
+ if (!pushcharhandle (0x00, query))
+ return (false);
+
+ // Check that server's still alive
+ if (mysql_ping(dbid) != 0) {
+ langerrormessage ("\x20""Lost connection to MySQL server.");
+ return (false);
+ }
+
+ // Process the initial query sequence
+ returnCode = mysql_qu...
[truncated message content] |
|
From: <cre...@us...> - 2007-06-17 16:04:49
|
Revision: 1687
http://svn.sourceforge.net/frontierkernel/?rev=1687&view=rev
Author: creecode
Date: 2007-06-17 09:04:47 -0700 (Sun, 17 Jun 2007)
Log Message:
-----------
importing a read me file
Added Paths:
-----------
Frontier/vendor/MySQL/Read-Me.txt
Added: Frontier/vendor/MySQL/Read-Me.txt
===================================================================
--- Frontier/vendor/MySQL/Read-Me.txt (rev 0)
+++ Frontier/vendor/MySQL/Read-Me.txt 2007-06-17 16:04:47 UTC (rev 1687)
@@ -0,0 +1,26 @@
+Normally we like to include the entire directory structure from vendor drops but MySQL is about 300 megabytes when including all the info for Mac ( Intel, PPC ) and Win. So what we do is drop all but the most relevant sub-directories for each platform.
+
+Sub-directories Kept
+
+ v5.0.41
+ osx10.3-powerpc
+ include
+ lib
+ osx10.4-i686
+ include
+ lib
+ win32
+ include
+ lib
+
+ v5.0.37
+ osx10.3-powerpc
+ include
+ lib
+ osx10.4-i686
+ include
+ lib
+ win32
+ include
+ lib
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 16:02:39
|
Revision: 1686
http://svn.sourceforge.net/frontierkernel/?rev=1686&view=rev
Author: creecode
Date: 2007-06-17 09:02:40 -0700 (Sun, 17 Jun 2007)
Log Message:
-----------
changing name of file from Read_Me to Read-Me
Removed Paths:
-------------
Frontier/vendor/MySQL/Read_Me.txt
Deleted: Frontier/vendor/MySQL/Read_Me.txt
===================================================================
--- Frontier/vendor/MySQL/Read_Me.txt 2007-06-17 04:04:13 UTC (rev 1685)
+++ Frontier/vendor/MySQL/Read_Me.txt 2007-06-17 16:02:40 UTC (rev 1686)
@@ -1,15 +0,0 @@
-Normally we like to include the entire directory structure from vendor drops but MySQL is about 300 megabytes when including all the info for Mac ( Intel, PPC ) and Win. So what we do is drop all but the most relevant sub-directories for each platform.
-
-Sub-directories Kept
-
- v5.0.37
- osx10.3-powerpc
- include
- lib
- osx10.4-i686
- include
- lib
- win32
- include
- lib
-
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 04:04:10
|
Revision: 1685
http://svn.sourceforge.net/frontierkernel/?rev=1685&view=rev
Author: creecode
Date: 2007-06-16 21:04:13 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
tagging MySQL v5.0.41
Added Paths:
-----------
Frontier/vendor/MySQL/5.0.41/
Copied: Frontier/vendor/MySQL/5.0.41 (from rev 1684, Frontier/vendor/MySQL/current)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 03:54:54
|
Revision: 1684
http://svn.sourceforge.net/frontierkernel/?rev=1684&view=rev
Author: creecode
Date: 2007-06-16 20:54:56 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
v5.0.41 files
Modified Paths:
--------------
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/m_ctype.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_config.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_dbug.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_global.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_pthread.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_time.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql_version.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/violite.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libdbug.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmystrings.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysys.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libz.a
Frontier/vendor/MySQL/current/osx10.4-i686/include/config.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/m_ctype.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_base.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_config.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_dbug.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_pthread.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_sys.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_time.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql_version.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/violite.h
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libdbug.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmystrings.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysys.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libz.a
Frontier/vendor/MySQL/current/win32/include/config-win.h
Frontier/vendor/MySQL/current/win32/include/libmysql.def
Frontier/vendor/MySQL/current/win32/include/m_ctype.h
Frontier/vendor/MySQL/current/win32/include/my_dbug.h
Frontier/vendor/MySQL/current/win32/include/my_global.h
Frontier/vendor/MySQL/current/win32/include/my_pthread.h
Frontier/vendor/MySQL/current/win32/include/my_sys.h
Frontier/vendor/MySQL/current/win32/include/mysql.h
Frontier/vendor/MySQL/current/win32/include/mysql_version.h
Frontier/vendor/MySQL/current/win32/include/mysqld_ername.h
Frontier/vendor/MySQL/current/win32/include/mysqld_error.h
Frontier/vendor/MySQL/current/win32/lib/debug/libmysql.dll
Frontier/vendor/MySQL/current/win32/lib/debug/libmysql.lib
Frontier/vendor/MySQL/current/win32/lib/debug/mysqlclient.lib
Frontier/vendor/MySQL/current/win32/lib/debug/mysys.lib
Frontier/vendor/MySQL/current/win32/lib/debug/regex.lib
Frontier/vendor/MySQL/current/win32/lib/debug/strings.lib
Frontier/vendor/MySQL/current/win32/lib/debug/zlib.lib
Frontier/vendor/MySQL/current/win32/lib/opt/libmysql.dll
Frontier/vendor/MySQL/current/win32/lib/opt/libmysql.lib
Frontier/vendor/MySQL/current/win32/lib/opt/mysqlclient.lib
Frontier/vendor/MySQL/current/win32/lib/opt/mysys-nt.lib
Frontier/vendor/MySQL/current/win32/lib/opt/regex.lib
Frontier/vendor/MySQL/current/win32/lib/opt/strings.lib
Frontier/vendor/MySQL/current/win32/lib/opt/zlib.lib
Added Paths:
-----------
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.15.0.0.dylib
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.15.dylib
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.dylib
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.15.0.0.dylib
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.15.dylib
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.dylib
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.2.0.0.dylib
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.2.dylib
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.dylib
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.la
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.15.0.0.dylib
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.15.dylib
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.dylib
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.15.0.0.dylib
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.15.dylib
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.dylib
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.2.0.0.dylib
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.2.dylib
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.dylib
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.la
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -971,7 +971,7 @@
#define NDB_SHM_TRANSPORTER 1
/* NDB build version */
-#define NDB_VERSION_BUILD 37
+#define NDB_VERSION_BUILD 41
/* NDB major version */
#define NDB_VERSION_MAJOR 5
@@ -1084,6 +1084,9 @@
/* Should be client be thread safe */
#define THREAD_SAFE_CLIENT 1
+/* Define to 1 if time_t is unsigned */
+/* #undef TIME_T_UNSIGNED */
+
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
@@ -1114,7 +1117,7 @@
/* #undef USE_PSTACK */
/* Version number of package */
-#define VERSION "5.0.37"
+#define VERSION "5.0.41"
/* sighandler type is void (*signal ()) (); */
#define VOID_SIGHANDLER 1
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/m_ctype.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/m_ctype.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/m_ctype.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -90,7 +90,7 @@
{
uint beg;
uint end;
- uint mblen;
+ uint mb_len;
} my_match_t;
enum my_lex_states
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_config.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_config.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_config.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -971,7 +971,7 @@
#define NDB_SHM_TRANSPORTER 1
/* NDB build version */
-#define NDB_VERSION_BUILD 37
+#define NDB_VERSION_BUILD 41
/* NDB major version */
#define NDB_VERSION_MAJOR 5
@@ -1084,6 +1084,9 @@
/* Should be client be thread safe */
#define THREAD_SAFE_CLIENT 1
+/* Define to 1 if time_t is unsigned */
+/* #undef TIME_T_UNSIGNED */
+
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
@@ -1114,7 +1117,7 @@
/* #undef USE_PSTACK */
/* Version number of package */
-#define VERSION "5.0.37"
+#define VERSION "5.0.41"
/* sighandler type is void (*signal ()) (); */
#define VOID_SIGHANDLER 1
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_dbug.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_dbug.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_dbug.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -74,6 +74,7 @@
#define DBUG_ASSERT(A) assert(A)
#define DBUG_EXECUTE_IF(keyword,a1) \
do {if (_db_on_) {if (_db_strict_keyword_ (keyword)) { a1 }}} while(0)
+#define IF_DBUG(A) A
#else /* No debugger */
#define DBUG_ENTER(a1)
@@ -98,6 +99,7 @@
#define DBUG_OUTPUT(A)
#define DBUG_ASSERT(A) {}
#define DBUG_LEAVE
+#define IF_DBUG(A)
#endif
#ifdef __cplusplus
}
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_global.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_global.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_global.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -540,7 +540,7 @@
duplicate declaration of __cxa_pure_virtual, solved by declaring it a
weak symbol.
*/
-#ifdef USE_MYSYS_NEW
+#if defined(USE_MYSYS_NEW) && ! defined(DONT_DECLARE_CXA_PURE_VIRTUAL)
C_MODE_START
int __cxa_pure_virtual () __attribute__ ((weak));
C_MODE_END
@@ -846,6 +846,21 @@
#define ADD_TO_PTR(ptr,size,type) (type) ((byte*) (ptr)+size)
#define PTR_BYTE_DIFF(A,B) (my_ptrdiff_t) ((byte*) (A) - (byte*) (B))
+/*
+ Custom version of standard offsetof() macro which can be used to get
+ offsets of members in class for non-POD types (according to the current
+ version of C++ standard offsetof() macro can't be used in such cases and
+ attempt to do so causes warnings to be emitted, OTOH in many cases it is
+ still OK to assume that all instances of the class has the same offsets
+ for the same members).
+
+ This is temporary solution which should be removed once File_parser class
+ and related routines are refactored.
+*/
+
+#define my_offsetof(TYPE, MEMBER) \
+ ((size_t)((char *)&(((TYPE *)0x10)->MEMBER) - (char*)0x10))
+
#define NullS (char *) 0
/* Nowdays we do not support MessyDos */
#ifndef NEAR
@@ -1078,7 +1093,7 @@
*/
#define uint3korr(A) (long) (*((unsigned int *) (A)) & 0xFFFFFF)
#endif
-#define uint4korr(A) (*((unsigned long *) (A)))
+#define uint4korr(A) (*((uint32 *) (A)))
#define uint5korr(A) ((ulonglong)(((uint32) ((uchar) (A)[0])) +\
(((uint32) ((uchar) (A)[1])) << 8) +\
(((uint32) ((uchar) (A)[2])) << 16) +\
@@ -1342,4 +1357,13 @@
#define NO_EMBEDDED_ACCESS_CHECKS
#endif
+
+/* Length of decimal number represented by INT32. */
+
+#define MY_INT32_NUM_DECIMAL_DIGITS 11
+
+/* Length of decimal number represented by INT64. */
+
+#define MY_INT64_NUM_DECIMAL_DIGITS 21
+
#endif /* my_global_h */
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_pthread.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_pthread.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_pthread.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -80,11 +80,17 @@
typedef struct {
uint32 waiting;
-#ifdef OS2
- HEV semaphore;
-#else
- HANDLE semaphore;
-#endif
+ CRITICAL_SECTION lock_waiting;
+
+ enum {
+ SIGNAL= 0,
+ BROADCAST= 1,
+ MAX_EVENTS= 2
+ } EVENTS;
+
+ HANDLE events[MAX_EVENTS];
+ HANDLE broadcast_block_event;
+
} pthread_cond_t;
typedef int pthread_mutexattr_t;
@@ -370,14 +376,14 @@
we want to make sure that no such flags are set.
*/
#if defined(HAVE_SIGACTION) && !defined(my_sigset)
-#define my_sigset(A,B) do { struct sigaction s; sigset_t set; int rc; \
- DBUG_ASSERT((A) != 0); \
- sigemptyset(&set); \
- s.sa_handler = (B); \
- s.sa_mask = set; \
- s.sa_flags = 0; \
- rc= sigaction((A), &s, (struct sigaction *) NULL);\
- DBUG_ASSERT(rc == 0); \
+#define my_sigset(A,B) do { struct sigaction l_s; sigset_t l_set; int l_rc; \
+ DBUG_ASSERT((A) != 0); \
+ sigemptyset(&l_set); \
+ l_s.sa_handler = (B); \
+ l_s.sa_mask = l_set; \
+ l_s.sa_flags = 0; \
+ l_rc= sigaction((A), &l_s, (struct sigaction *) NULL);\
+ DBUG_ASSERT(l_rc == 0); \
} while (0)
#elif defined(HAVE_SIGSET) && !defined(my_sigset)
#define my_sigset(A,B) sigset((A),(B))
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_time.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_time.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_time.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -30,7 +30,13 @@
/*
Portable time_t replacement.
- Should be signed and hold seconds for 1902-2038 range.
+ Should be signed and hold seconds for 1902 -- 2038-01-19 range
+ i.e at least a 32bit variable
+
+ Using the system built in time_t is not an option as
+ we rely on the above requirements in the time functions
+
+ For example QNX has an unsigned time_t type
*/
typedef long my_time_t;
@@ -73,16 +79,16 @@
uint flags, int *was_cut);
longlong number_to_datetime(longlong nr, MYSQL_TIME *time_res,
uint flags, int *was_cut);
-ulonglong TIME_to_ulonglong_datetime(const MYSQL_TIME *time);
-ulonglong TIME_to_ulonglong_date(const MYSQL_TIME *time);
-ulonglong TIME_to_ulonglong_time(const MYSQL_TIME *time);
-ulonglong TIME_to_ulonglong(const MYSQL_TIME *time);
+ulonglong TIME_to_ulonglong_datetime(const MYSQL_TIME *);
+ulonglong TIME_to_ulonglong_date(const MYSQL_TIME *);
+ulonglong TIME_to_ulonglong_time(const MYSQL_TIME *);
+ulonglong TIME_to_ulonglong(const MYSQL_TIME *);
my_bool str_to_time(const char *str,uint length, MYSQL_TIME *l_time,
int *warning);
-int check_time_range(struct st_mysql_time *time, int *warning);
+int check_time_range(struct st_mysql_time *, int *warning);
long calc_daynr(uint year,uint month,uint day);
uint calc_days_in_year(uint year);
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -87,6 +87,7 @@
#define IS_NUM(t) ((t) <= FIELD_TYPE_INT24 || (t) == FIELD_TYPE_YEAR || (t) == FIELD_TYPE_NEWDECIMAL)
#define IS_NUM_FIELD(f) ((f)->flags & NUM_FLAG)
#define INTERNAL_NUM_FIELD(f) (((f)->type <= FIELD_TYPE_INT24 && ((f)->type != FIELD_TYPE_TIMESTAMP || (f)->length == 14 || (f)->length == 8)) || (f)->type == FIELD_TYPE_YEAR)
+#define IS_LONGDATA(t) ((t) >= MYSQL_TYPE_TINY_BLOB && (t) <= MYSQL_TYPE_STRING)
typedef struct st_mysql_field {
@@ -783,7 +784,7 @@
unsigned long length);
int STDCALL mysql_stmt_execute(MYSQL_STMT *stmt);
int STDCALL mysql_stmt_fetch(MYSQL_STMT *stmt);
-int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind,
+int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind_arg,
unsigned int column,
unsigned long offset);
int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt);
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql_version.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql_version.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql_version.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -9,11 +9,11 @@
#include <custom_conf.h>
#else
#define PROTOCOL_VERSION 10
-#define MYSQL_SERVER_VERSION "5.0.37"
+#define MYSQL_SERVER_VERSION "5.0.41"
#define MYSQL_BASE_VERSION "mysqld-5.0"
#define MYSQL_SERVER_SUFFIX_DEF ""
#define FRM_VER 6
-#define MYSQL_VERSION_ID 50037
+#define MYSQL_VERSION_ID 50041
#define MYSQL_PORT 3306
#define MYSQL_UNIX_ADDR "/tmp/mysql.sock"
#define MYSQL_CONFIG_NAME "my"
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/violite.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/violite.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/violite.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -102,6 +102,9 @@
#define HEADER_DES_LOCL_H dummy_something
#define YASSL_MYSQL_COMPATIBLE
#define YASSL_PREFIX
+/* Set yaSSL to use same type as MySQL do for socket handles */
+typedef my_socket YASSL_SOCKET_T;
+#define YASSL_SOCKET_T_DEFINED
#include <openssl/ssl.h>
#include <openssl/err.h>
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libdbug.a
===================================================================
(Binary files differ)
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.15.0.0.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.15.0.0.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.15.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.15.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.a
===================================================================
(Binary files differ)
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.15.0.0.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.15.0.0.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.15.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.15.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.a
===================================================================
(Binary files differ)
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmystrings.a
===================================================================
(Binary files differ)
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysys.a
===================================================================
(Binary files differ)
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.2.0.0.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.2.0.0.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.2.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.2.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.a
===================================================================
(Binary files differ)
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.la
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.la (rev 0)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.la 2007-06-17 03:54:56 UTC (rev 1684)
@@ -0,0 +1,35 @@
+# libndbclient.la - a libtool library file
+# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libndbclient.2.dylib'
+
+# Names of this library.
+library_names='libndbclient.2.0.0.dylib libndbclient.2.dylib libndbclient.dylib'
+
+# The name of the static archive.
+old_library='libndbclient.a'
+
+# Libraries that this one depends upon.
+dependency_libs=' -lm'
+
+# Version information for libndbclient.
+current=2
+age=0
+revision=0
+
+# Is this an already installed library?
+installed=yes
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/usr/local/mysql/lib/mysql'
Property changes on: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.la
___________________________________________________________________
Name: svn:executable
+ *
Modified: Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libz.a
===================================================================
(Binary files differ)
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/config.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/config.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/config.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -971,7 +971,7 @@
#define NDB_SHM_TRANSPORTER 1
/* NDB build version */
-#define NDB_VERSION_BUILD 37
+#define NDB_VERSION_BUILD 41
/* NDB major version */
#define NDB_VERSION_MAJOR 5
@@ -1084,6 +1084,9 @@
/* Should be client be thread safe */
#define THREAD_SAFE_CLIENT 1
+/* Define to 1 if time_t is unsigned */
+/* #undef TIME_T_UNSIGNED */
+
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
@@ -1114,7 +1117,7 @@
/* #undef USE_PSTACK */
/* Version number of package */
-#define VERSION "5.0.37"
+#define VERSION "5.0.41"
/* sighandler type is void (*signal ()) (); */
#define VOID_SIGHANDLER 1
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/m_ctype.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/m_ctype.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/m_ctype.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -90,7 +90,7 @@
{
uint beg;
uint end;
- uint mblen;
+ uint mb_len;
} my_match_t;
enum my_lex_states
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/my_base.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/my_base.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/my_base.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -160,7 +160,15 @@
Off by default.
*/
HA_EXTRA_WRITE_CAN_REPLACE,
- HA_EXTRA_WRITE_CANNOT_REPLACE
+ HA_EXTRA_WRITE_CANNOT_REPLACE,
+ /*
+ Inform handler that delete_row()/update_row() cannot batch deletes/updates
+ and should perform them immediately. This may be needed when table has
+ AFTER DELETE/UPDATE triggers which access to subject table.
+ These flags are reset by the handler::extra(HA_EXTRA_RESET) call.
+ */
+ HA_EXTRA_DELETE_CANNOT_BATCH,
+ HA_EXTRA_UPDATE_CANNOT_BATCH
};
/* The following is parameter to ha_panic() */
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/my_config.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/my_config.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/my_config.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -971,7 +971,7 @@
#define NDB_SHM_TRANSPORTER 1
/* NDB build version */
-#define NDB_VERSION_BUILD 37
+#define NDB_VERSION_BUILD 41
/* NDB major version */
#define NDB_VERSION_MAJOR 5
@@ -1084,6 +1084,9 @@
/* Should be client be thread safe */
#define THREAD_SAFE_CLIENT 1
+/* Define to 1 if time_t is unsigned */
+/* #undef TIME_T_UNSIGNED */
+
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#define TIME_WITH_SYS_TIME 1
@@ -1114,7 +1117,7 @@
/* #undef USE_PSTACK */
/* Version number of package */
-#define VERSION "5.0.37"
+#define VERSION "5.0.41"
/* sighandler type is void (*signal ()) (); */
#define VOID_SIGHANDLER 1
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/my_dbug.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/my_dbug.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/my_dbug.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -74,6 +74,7 @@
#define DBUG_ASSERT(A) assert(A)
#define DBUG_EXECUTE_IF(keyword,a1) \
do {if (_db_on_) {if (_db_strict_keyword_ (keyword)) { a1 }}} while(0)
+#define IF_DBUG(A) A
#else /* No debugger */
#define DBUG_ENTER(a1)
@@ -98,6 +99,7 @@
#define DBUG_OUTPUT(A)
#define DBUG_ASSERT(A) {}
#define DBUG_LEAVE
+#define IF_DBUG(A)
#endif
#ifdef __cplusplus
}
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/my_pthread.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/my_pthread.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/my_pthread.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -80,11 +80,17 @@
typedef struct {
uint32 waiting;
-#ifdef OS2
- HEV semaphore;
-#else
- HANDLE semaphore;
-#endif
+ CRITICAL_SECTION lock_waiting;
+
+ enum {
+ SIGNAL= 0,
+ BROADCAST= 1,
+ MAX_EVENTS= 2
+ } EVENTS;
+
+ HANDLE events[MAX_EVENTS];
+ HANDLE broadcast_block_event;
+
} pthread_cond_t;
typedef int pthread_mutexattr_t;
@@ -370,14 +376,14 @@
we want to make sure that no such flags are set.
*/
#if defined(HAVE_SIGACTION) && !defined(my_sigset)
-#define my_sigset(A,B) do { struct sigaction s; sigset_t set; int rc; \
- DBUG_ASSERT((A) != 0); \
- sigemptyset(&set); \
- s.sa_handler = (B); \
- s.sa_mask = set; \
- s.sa_flags = 0; \
- rc= sigaction((A), &s, (struct sigaction *) NULL);\
- DBUG_ASSERT(rc == 0); \
+#define my_sigset(A,B) do { struct sigaction l_s; sigset_t l_set; int l_rc; \
+ DBUG_ASSERT((A) != 0); \
+ sigemptyset(&l_set); \
+ l_s.sa_handler = (B); \
+ l_s.sa_mask = l_set; \
+ l_s.sa_flags = 0; \
+ l_rc= sigaction((A), &l_s, (struct sigaction *) NULL);\
+ DBUG_ASSERT(l_rc == 0); \
} while (0)
#elif defined(HAVE_SIGSET) && !defined(my_sigset)
#define my_sigset(A,B) sigset((A),(B))
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/my_sys.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/my_sys.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/my_sys.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -260,9 +260,10 @@
NEAR my_disable_flush_key_blocks, NEAR my_disable_symlinks;
extern char wild_many,wild_one,wild_prefix;
extern const char *charsets_dir;
-extern char *defaults_extra_file;
-extern const char *defaults_group_suffix;
-extern const char *defaults_file;
+/* from default.c */
+extern char *my_defaults_extra_file;
+extern const char *my_defaults_group_suffix;
+extern const char *my_defaults_file;
extern my_bool timed_mutexes;
@@ -321,8 +322,17 @@
extern struct st_my_file_info *my_file_info;
+typedef struct st_dynamic_array
+{
+ char *buffer;
+ uint elements,max_element;
+ uint alloc_increment;
+ uint size_of_element;
+} DYNAMIC_ARRAY;
+
typedef struct st_my_tmpdir
{
+ DYNAMIC_ARRAY full_list;
char **list;
uint cur, max;
#ifdef THREAD
@@ -330,14 +340,6 @@
#endif
} MY_TMPDIR;
-typedef struct st_dynamic_array
-{
- char *buffer;
- uint elements,max_element;
- uint alloc_increment;
- uint size_of_element;
-} DYNAMIC_ARRAY;
-
typedef struct st_dynamic_string
{
char *str;
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/my_time.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/my_time.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/my_time.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -30,7 +30,13 @@
/*
Portable time_t replacement.
- Should be signed and hold seconds for 1902-2038 range.
+ Should be signed and hold seconds for 1902 -- 2038-01-19 range
+ i.e at least a 32bit variable
+
+ Using the system built in time_t is not an option as
+ we rely on the above requirements in the time functions
+
+ For example QNX has an unsigned time_t type
*/
typedef long my_time_t;
@@ -73,16 +79,16 @@
uint flags, int *was_cut);
longlong number_to_datetime(longlong nr, MYSQL_TIME *time_res,
uint flags, int *was_cut);
-ulonglong TIME_to_ulonglong_datetime(const MYSQL_TIME *time);
-ulonglong TIME_to_ulonglong_date(const MYSQL_TIME *time);
-ulonglong TIME_to_ulonglong_time(const MYSQL_TIME *time);
-ulonglong TIME_to_ulonglong(const MYSQL_TIME *time);
+ulonglong TIME_to_ulonglong_datetime(const MYSQL_TIME *);
+ulonglong TIME_to_ulonglong_date(const MYSQL_TIME *);
+ulonglong TIME_to_ulonglong_time(const MYSQL_TIME *);
+ulonglong TIME_to_ulonglong(const MYSQL_TIME *);
my_bool str_to_time(const char *str,uint length, MYSQL_TIME *l_time,
int *warning);
-int check_time_range(struct st_mysql_time *time, int *warning);
+int check_time_range(struct st_mysql_time *, int *warning);
long calc_daynr(uint year,uint month,uint day);
uint calc_days_in_year(uint year);
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -87,6 +87,7 @@
#define IS_NUM(t) ((t) <= FIELD_TYPE_INT24 || (t) == FIELD_TYPE_YEAR || (t) == FIELD_TYPE_NEWDECIMAL)
#define IS_NUM_FIELD(f) ((f)->flags & NUM_FLAG)
#define INTERNAL_NUM_FIELD(f) (((f)->type <= FIELD_TYPE_INT24 && ((f)->type != FIELD_TYPE_TIMESTAMP || (f)->length == 14 || (f)->length == 8)) || (f)->type == FIELD_TYPE_YEAR)
+#define IS_LONGDATA(t) ((t) >= MYSQL_TYPE_TINY_BLOB && (t) <= MYSQL_TYPE_STRING)
typedef struct st_mysql_field {
@@ -783,7 +784,7 @@
unsigned long length);
int STDCALL mysql_stmt_execute(MYSQL_STMT *stmt);
int STDCALL mysql_stmt_fetch(MYSQL_STMT *stmt);
-int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind,
+int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind_arg,
unsigned int column,
unsigned long offset);
int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt);
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql_version.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql_version.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql_version.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -9,11 +9,11 @@
#include <custom_conf.h>
#else
#define PROTOCOL_VERSION 10
-#define MYSQL_SERVER_VERSION "5.0.37"
+#define MYSQL_SERVER_VERSION "5.0.41"
#define MYSQL_BASE_VERSION "mysqld-5.0"
#define MYSQL_SERVER_SUFFIX_DEF ""
#define FRM_VER 6
-#define MYSQL_VERSION_ID 50037
+#define MYSQL_VERSION_ID 50041
#define MYSQL_PORT 3306
#define MYSQL_UNIX_ADDR "/tmp/mysql.sock"
#define MYSQL_CONFIG_NAME "my"
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/include/violite.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/include/violite.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/include/violite.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -102,6 +102,9 @@
#define HEADER_DES_LOCL_H dummy_something
#define YASSL_MYSQL_COMPATIBLE
#define YASSL_PREFIX
+/* Set yaSSL to use same type as MySQL do for socket handles */
+typedef my_socket YASSL_SOCKET_T;
+#define YASSL_SOCKET_T_DEFINED
#include <openssl/ssl.h>
#include <openssl/err.h>
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libdbug.a
===================================================================
(Binary files differ)
Added: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.15.0.0.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.15.0.0.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.15.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.15.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.a
===================================================================
(Binary files differ)
Added: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.15.0.0.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.15.0.0.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.15.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.15.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.a
===================================================================
(Binary files differ)
Added: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmystrings.a
===================================================================
(Binary files differ)
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysys.a
===================================================================
(Binary files differ)
Added: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.2.0.0.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.2.0.0.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.2.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.2.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.a
===================================================================
(Binary files differ)
Added: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.dylib
===================================================================
(Binary files differ)
Property changes on: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.dylib
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:mime-type
+ application/octet-stream
Added: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.la
===================================================================
--- Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.la (rev 0)
+++ Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.la 2007-06-17 03:54:56 UTC (rev 1684)
@@ -0,0 +1,35 @@
+# libndbclient.la - a libtool library file
+# Generated by ltmain.sh - GNU libtool 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libndbclient.2.dylib'
+
+# Names of this library.
+library_names='libndbclient.2.0.0.dylib libndbclient.2.dylib libndbclient.dylib'
+
+# The name of the static archive.
+old_library='libndbclient.a'
+
+# Libraries that this one depends upon.
+dependency_libs=' -lm'
+
+# Version information for libndbclient.
+current=2
+age=0
+revision=0
+
+# Is this an already installed library?
+installed=yes
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/usr/local/mysql/lib/mysql'
Property changes on: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.la
___________________________________________________________________
Name: svn:executable
+ *
Modified: Frontier/vendor/MySQL/current/osx10.4-i686/lib/libz.a
===================================================================
(Binary files differ)
Modified: Frontier/vendor/MySQL/current/win32/include/config-win.h
===================================================================
--- Frontier/vendor/MySQL/current/win32/include/config-win.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/win32/include/config-win.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -411,14 +411,8 @@
#define shared_memory_buffer_length 16000
#define default_shared_memory_base_name "MYSQL"
-#ifdef CYBOZU
-#define MYSQL_DEFAULT_CHARSET_NAME "utf8"
-#define MYSQL_DEFAULT_COLLATION_NAME "utf8_general_cs"
-#define HAVE_UTF8_GENERAL_CS 1
-#else
#define MYSQL_DEFAULT_CHARSET_NAME "latin1"
#define MYSQL_DEFAULT_COLLATION_NAME "latin1_swedish_ci"
-#endif
#define HAVE_SPATIAL 1
#define HAVE_RTREE_KEYS 1
@@ -429,10 +423,8 @@
/* Define charsets you want */
/* #undef HAVE_CHARSET_armscii8 */
/* #undef HAVE_CHARSET_ascii */
-#ifndef CYBOZU
#define HAVE_CHARSET_big5 1
#define HAVE_CHARSET_cp1250 1
-#endif
/* #undef HAVE_CHARSET_cp1251 */
/* #undef HAVE_CHARSET_cp1256 */
/* #undef HAVE_CHARSET_cp1257 */
@@ -441,33 +433,27 @@
/* #undef HAVE_CHARSET_cp866 */
#define HAVE_CHARSET_cp932 1
/* #undef HAVE_CHARSET_dec8 */
-#ifndef CYBOZU
#define HAVE_CHARSET_eucjpms 1
#define HAVE_CHARSET_euckr 1
#define HAVE_CHARSET_gb2312 1
#define HAVE_CHARSET_gbk 1
-#endif
/* #undef HAVE_CHARSET_greek */
/* #undef HAVE_CHARSET_hebrew */
/* #undef HAVE_CHARSET_hp8 */
/* #undef HAVE_CHARSET_keybcs2 */
/* #undef HAVE_CHARSET_koi8r */
/* #undef HAVE_CHARSET_koi8u */
-#ifndef CYBOZU
#define HAVE_CHARSET_latin1 1
#define HAVE_CHARSET_latin2 1
-#endif
/* #undef HAVE_CHARSET_latin5 */
/* #undef HAVE_CHARSET_latin7 */
/* #undef HAVE_CHARSET_macce */
/* #undef HAVE_CHARSET_macroman */
#define HAVE_CHARSET_sjis 1
/* #undef HAVE_CHARSET_swe7 */
-#ifndef CYBOZU
#define HAVE_CHARSET_tis620 1
#define HAVE_CHARSET_ucs2 1
#define HAVE_CHARSET_ujis 1
-#endif
#define HAVE_CHARSET_utf8 1
#define HAVE_UCA_COLLATIONS 1
Modified: Frontier/vendor/MySQL/current/win32/include/libmysql.def
===================================================================
--- Frontier/vendor/MySQL/current/win32/include/libmysql.def 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/win32/include/libmysql.def 2007-06-17 03:54:56 UTC (rev 1684)
@@ -1,5 +1,4 @@
LIBRARY LIBMYSQL
-DESCRIPTION 'MySQL 5.0 Client Library'
VERSION 6.0
EXPORTS
_dig_vec_lower
Modified: Frontier/vendor/MySQL/current/win32/include/m_ctype.h
===================================================================
--- Frontier/vendor/MySQL/current/win32/include/m_ctype.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/win32/include/m_ctype.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -90,7 +90,7 @@
{
uint beg;
uint end;
- uint mblen;
+ uint mb_len;
} my_match_t;
enum my_lex_states
Modified: Frontier/vendor/MySQL/current/win32/include/my_dbug.h
===================================================================
--- Frontier/vendor/MySQL/current/win32/include/my_dbug.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/win32/include/my_dbug.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -74,6 +74,7 @@
#define DBUG_ASSERT(A) assert(A)
#define DBUG_EXECUTE_IF(keyword,a1) \
do {if (_db_on_) {if (_db_strict_keyword_ (keyword)) { a1 }}} while(0)
+#define IF_DBUG(A) A
#else /* No debugger */
#define DBUG_ENTER(a1)
@@ -98,6 +99,7 @@
#define DBUG_OUTPUT(A)
#define DBUG_ASSERT(A) {}
#define DBUG_LEAVE
+#define IF_DBUG(A)
#endif
#ifdef __cplusplus
}
Modified: Frontier/vendor/MySQL/current/win32/include/my_global.h
===================================================================
--- Frontier/vendor/MySQL/current/win32/include/my_global.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/win32/include/my_global.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -540,7 +540,7 @@
duplicate declaration of __cxa_pure_virtual, solved by declaring it a
weak symbol.
*/
-#ifdef USE_MYSYS_NEW
+#if defined(USE_MYSYS_NEW) && ! defined(DONT_DECLARE_CXA_PURE_VIRTUAL)
C_MODE_START
int __cxa_pure_virtual () __attribute__ ((weak));
C_MODE_END
@@ -846,6 +846,21 @@
#define ADD_TO_PTR(ptr,size,type) (type) ((byte*) (ptr)+size)
#define PTR_BYTE_DIFF(A,B) (my_ptrdiff_t) ((byte*) (A) - (byte*) (B))
+/*
+ Custom version of standard offsetof() macro which can be used to get
+ offsets of members in class for non-POD types (according to the current
+ version of C++ standard offsetof() macro can't be used in such cases and
+ attempt to do so causes warnings to be emitted, OTOH in many cases it is
+ still OK to assume that all instances of the class has the same offsets
+ for the same members).
+
+ This is temporary solution which should be removed once File_parser class
+ and related routines are refactored.
+*/
+
+#define my_offsetof(TYPE, MEMBER) \
+ ((size_t)((char *)&(((TYPE *)0x10)->MEMBER) - (char*)0x10))
+
#define NullS (char *) 0
/* Nowdays we do not support MessyDos */
#ifndef NEAR
@@ -1078,7 +1093,7 @@
*/
#define uint3korr(A) (long) (*((unsigned int *) (A)) & 0xFFFFFF)
#endif
-#define uint4korr(A) (*((unsigned long *) (A)))
+#define uint4korr(A) (*((uint32 *) (A)))
#define uint5korr(A) ((ulonglong)(((uint32) ((uchar) (A)[0])) +\
(((uint32) ((uchar) (A)[1])) << 8) +\
(((uint32) ((uchar) (A)[2])) << 16) +\
@@ -1342,4 +1357,13 @@
#define NO_EMBEDDED_ACCESS_CHECKS
#endif
+
+/* Length of decimal number represented by INT32. */
+
+#define MY_INT32_NUM_DECIMAL_DIGITS 11
+
+/* Length of decimal number represented by INT64. */
+
+#define MY_INT64_NUM_DECIMAL_DIGITS 21
+
#endif /* my_global_h */
Modified: Frontier/vendor/MySQL/current/win32/include/my_pthread.h
===================================================================
--- Frontier/vendor/MySQL/current/win32/include/my_pthread.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/win32/include/my_pthread.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -80,11 +80,17 @@
typedef struct {
uint32 waiting;
-#ifdef OS2
- HEV semaphore;
-#else
- HANDLE semaphore;
-#endif
+ CRITICAL_SECTION lock_waiting;
+
+ enum {
+ SIGNAL= 0,
+ BROADCAST= 1,
+ MAX_EVENTS= 2
+ } EVENTS;
+
+ HANDLE events[MAX_EVENTS];
+ HANDLE broadcast_block_event;
+
} pthread_cond_t;
typedef int pthread_mutexattr_t;
@@ -370,14 +376,14 @@
we want to make sure that no such flags are set.
*/
#if defined(HAVE_SIGACTION) && !defined(my_sigset)
-#define my_sigset(A,B) do { struct sigaction s; sigset_t set; int rc; \
- DBUG_ASSERT((A) != 0); \
- sigemptyset(&set); \
- s.sa_handler = (B); \
- s.sa_mask = set; \
- s.sa_flags = 0; \
- rc= sigaction((A), &s, (struct sigaction *) NULL);\
- DBUG_ASSERT(rc == 0); \
+#define my_sigset(A,B) do { struct sigaction l_s; sigset_t l_set; int l_rc; \
+ DBUG_ASSERT((A) != 0); \
+ sigemptyset(&l_set); \
+ l_s.sa_handler = (B); \
+ l_s.sa_mask = l_set; \
+ l_s.sa_flags = 0; \
+ l_rc= sigaction((A), &l_s, (struct sigaction *) NULL);\
+ DBUG_ASSERT(l_rc == 0); \
} while (0)
#elif defined(HAVE_SIGSET) && !defined(my_sigset)
#define my_sigset(A,B) sigset((A),(B))
Modified: Frontier/vendor/MySQL/current/win32/include/my_sys.h
===================================================================
--- Frontier/vendor/MySQL/current/win32/include/my_sys.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/win32/include/my_sys.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -260,9 +260,10 @@
NEAR my_disable_flush_key_blocks, NEAR my_disable_symlinks;
extern char wild_many,wild_one,wild_prefix;
extern const char *charsets_dir;
-extern char *defaults_extra_file;
-extern const char *defaults_group_suffix;
-extern const char *defaults_file;
+/* from default.c */
+extern char *my_defaults_extra_file;
+extern const char *my_defaults_group_suffix;
+extern const char *my_defaults_file;
extern my_bool timed_mutexes;
@@ -321,8 +322,17 @@
extern struct st_my_file_info *my_file_info;
+typedef struct st_dynamic_array
+{
+ char *buffer;
+ uint elements,max_element;
+ uint alloc_increment;
+ uint size_of_element;
+} DYNAMIC_ARRAY;
+
typedef struct st_my_tmpdir
{
+ DYNAMIC_ARRAY full_list;
char **list;
uint cur, max;
#ifdef THREAD
@@ -330,14 +340,6 @@
#endif
} MY_TMPDIR;
-typedef struct st_dynamic_array
-{
- char *buffer;
- uint elements,max_element;
- uint alloc_increment;
- uint size_of_element;
-} DYNAMIC_ARRAY;
-
typedef struct st_dynamic_string
{
char *str;
Modified: Frontier/vendor/MySQL/current/win32/include/mysql.h
===================================================================
--- Frontier/vendor/MySQL/current/win32/include/mysql.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/win32/include/mysql.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -87,6 +87,7 @@
#define IS_NUM(t) ((t) <= FIELD_TYPE_INT24 || (t) == FIELD_TYPE_YEAR || (t) == FIELD_TYPE_NEWDECIMAL)
#define IS_NUM_FIELD(f) ((f)->flags & NUM_FLAG)
#define INTERNAL_NUM_FIELD(f) (((f)->type <= FIELD_TYPE_INT24 && ((f)->type != FIELD_TYPE_TIMESTAMP || (f)->length == 14 || (f)->length == 8)) || (f)->type == FIELD_TYPE_YEAR)
+#define IS_LONGDATA(t) ((t) >= MYSQL_TYPE_TINY_BLOB && (t) <= MYSQL_TYPE_STRING)
typedef struct st_mysql_field {
@@ -783,7 +784,7 @@
unsigned long length);
int STDCALL mysql_stmt_execute(MYSQL_STMT *stmt);
int STDCALL mysql_stmt_fetch(MYSQL_STMT *stmt);
-int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind,
+int STDCALL mysql_stmt_fetch_column(MYSQL_STMT *stmt, MYSQL_BIND *bind_arg,
unsigned int column,
unsigned long offset);
int STDCALL mysql_stmt_store_result(MYSQL_STMT *stmt);
Modified: Frontier/vendor/MySQL/current/win32/include/mysql_version.h
===================================================================
--- Frontier/vendor/MySQL/current/win32/include/mysql_version.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/win32/include/mysql_version.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -1,29 +1,29 @@
-/* Copyright Abandoned 1996, 1999, 2001 MySQL AB
- This file is public domain and comes with NO WARRANTY of any kind */
-
-/* Version numbers for protocol & mysqld */
-
-#ifndef _mysql_version_h
-#define _mysql_version_h
-#ifdef _CUSTOMCONFIG_
-#include <custom_conf.h>
-#else
-#define PROTOCOL_VERSION 10
-#define MYSQL_SERVER_VERSION "5.0.37"
-#define MYSQL_BASE_VERSION "mysqld-5.0"
-#define MYSQL_SERVER_SUFFIX_DEF "-community-debug"
-#define FRM_VER 6
-#define MYSQL_VERSION_ID 50037
-#define MYSQL_PORT 3306
-#define MYSQL_UNIX_ADDR "/tmp/mysql.sock"
-#define MYSQL_CONFIG_NAME "my"
-#define MYSQL_COMPILATION_COMMENT "MySQL Community Edition - Debug (GPL)"
-
-/* mysqld compile time options */
-#endif /* _CUSTOMCONFIG_ */
-
-#ifndef LICENSE
-#define LICENSE GPL
-#endif /* LICENSE */
-
-#endif /* _mysql_version_h */
+/* Copyright Abandoned 1996, 1999, 2001 MySQL AB
+ This file is public domain and comes with NO WARRANTY of any kind */
+
+/* Version numbers for protocol & mysqld */
+
+#ifndef _mysql_version_h
+#define _mysql_version_h
+#ifdef _CUSTOMCONFIG_
+#include <custom_conf.h>
+#else
+#define PROTOCOL_VERSION 10
+#define MYSQL_SERVER_VERSION "5.0.41"
+#define MYSQL_BASE_VERSION "mysqld-5.0"
+#define MYSQL_SERVER_SUFFIX_DEF "-community-nt"
+#define FRM_VER 6
+#define MYSQL_VERSION_ID 50041
+#define MYSQL_PORT 3306
+#define MYSQL_UNIX_ADDR "/tmp/mysql.sock"
+#define MYSQL_CONFIG_NAME "my"
+#define MYSQL_COMPILATION_COMMENT "MySQL Community Edition (GPL)"
+
+/* mysqld compile time options */
+#endif /* _CUSTOMCONFIG_ */
+
+#ifndef LICENSE
+#define LICENSE GPL
+#endif /* LICENSE */
+
+#endif /* _mysql_version_h */
Modified: Frontier/vendor/MySQL/current/win32/include/mysqld_ername.h
===================================================================
--- Frontier/vendor/MySQL/current/win32/include/mysqld_ername.h 2007-06-17 00:50:36 UTC (rev 1683)
+++ Frontier/vendor/MySQL/current/win32/include/mysqld_ername.h 2007-06-17 03:54:56 UTC (rev 1684)
@@ -1,474 +1,474 @@
-/* Autogenerated file, please don't edit */
-
-{ "ER_HASHCHK", 1000 },
-{ "ER_NISAMCHK", 1001 },
-{ "ER_NO", 1002 },
-{ "ER_YES", 1003 },
-{ "ER_CANT_CREATE_FILE", 1004 },
-{ "ER_CANT_CREATE_TABLE", 1005 },
-{ "ER_CANT_CREATE_DB", 1006 },
-{ "ER_DB_CREATE_EXISTS", 1007 },
-{ "ER_DB_DROP_EXISTS", 1008 },
-{ "ER_DB_DROP_DELETE", 1009 },
-{ "ER_DB_DROP_RMDIR", 1010 },
-{ "ER_CANT_DELETE_FILE", 1011 },
-{ "ER_CANT_FIND_SYSTEM_REC", 1012 },
-{ "ER_CANT_GET_STAT", 1013 },
-{ "ER_CANT_GET_WD", 1014 },
-{ "ER_CANT_LOCK", 1015 },
-{ "ER_CANT_OPEN_FILE", 1016 },
-{ "ER_FILE_NOT_FOUND", 1017 },
-{ "ER_CANT_READ_DIR", 1018 },
-{ "ER_CANT_SET_WD", 1019 },
-{ "ER_CHECKREAD", 1020 },
-{ "ER_DISK_FULL", 1021 },
-{ "ER_DUP_KEY", 1022 },
-{ "ER_ERROR_ON_CLOSE", 1023 },
-{ "ER_ERROR_ON_READ", 1024 },
-{ "ER_ERROR_ON_RENAME", 1025 },
-{ "ER_ERROR_ON_WRITE", 1026 },
-{ "ER_FILE_USED", 1027 },
-{ "ER_FILSORT_ABORT", 1028 },
-{ "ER_FORM_NOT_FOUND", 1029 },
-{ "ER_GET_ERRNO", 1030 },
-{ "ER_ILLEGAL_HA", 1031 },
-{ "ER_KEY_NOT_FOUND", 1032 },
-{ "ER_NOT_FORM_FILE", 1033 },
-{ "ER_NOT_KEYFILE", 1034 },
-{ "ER_OLD_KEYFILE", 1035 },
-{ "ER_OPEN_AS_READONLY", 1036 },
-{ "ER_OUTOFMEMORY", 1037 },
-{ "ER_OUT_OF_SORTMEMORY", 1038 },
-{ "ER_UNEXPECTED_EOF", 1039 },
-{ "ER_CON_COUNT_ERROR", 1040 },
-{ "ER_OUT_OF_RESOURCES", 1041 },
-{ "ER_BAD_HOST_ERROR", 1042 },
-{ "ER_HANDSHAKE_ERROR", 1043 },
-{ "ER_DBACCESS_DENIED_ERROR", 1044 },
-{ "ER_ACCESS_DENIED_ERROR", 1045 },
-{ "ER_NO_DB_ERROR", 1046 },
-{ "ER_UNKNOWN_COM_ERROR", 1047 },
-{ "ER_BAD_NULL_ERROR", 1048 },
-{ "ER_BAD_DB_ERROR", 1049 },
-{ "ER_TABLE_EXISTS_ERROR", 1050 },
-{ "ER_BAD_TABLE_ERROR", 1051 },
-{ "ER_NON_UNIQ_ERROR", 1052 },
-{ "ER_SERVER_SHUTDOWN", 1053 },
-{ "ER_BAD_FIELD_ERROR", 1054 },
-{ "ER_WRONG_FIELD_WITH_GROUP", 1055 },
-{ "ER_WRONG_GROUP_FIELD", 1056 },
-{ "ER_WRONG_SUM_SELECT", 1057 },
-{ "ER_WRONG_VALUE_COUNT", 1058 },
-{ "ER_TOO_LONG_IDENT", 1059 },
-{ "ER_DUP_FIELDNAME", 1060 },
-{ "ER_DUP_KEYNAME", 1061 },
-{ "ER_DUP_ENTRY", 1062 },
-{ "ER_WRONG_FIELD_SPEC", 1063 },
-{ "ER_PARSE_ERROR", 1064 },
-{ "ER_EMPTY_QUERY", 1065 },
-{ "ER_NONUNIQ_TABLE", 1066 },
-{ "ER_INVALID_DEFAULT", 1067 },
-{ "ER_MULTIPLE_PRI_KEY", 1068 },
-{ "ER_TOO_MANY_KEYS", 1069 },
-{ "ER_TOO_MANY_KEY_PARTS", 1070 },
-{ "ER_TOO_LONG_KEY", 1071 },
-{ "ER_KEY_COLUMN_DOES_NOT_EXITS", 1072 },
-{ "ER_BLOB_USED_AS_KEY", 1073 },
-{ "ER_TOO_BIG_FIELDLENGTH", 1074 },
-{ "ER_WRONG_AUTO_KEY", 1075 },
-{ "ER_READY", 1076 },
-{ "ER_NORMAL_SHUTDOWN", 1077 },
-{ "ER_GOT_SIGNAL", 1078 },
-{ "ER_SHUTDOWN_COMPLETE", 1079 },
-{ "ER_FORCING_CLOSE", 1080 },
-{ "ER_IPSOCK_ERROR", 1081 },
-{ "ER_NO_SUCH_INDEX", 1082 },
-{ "ER_WRONG_FIELD_TERMINATORS", 1083 },
-{ "ER_BLOBS_AND_NO_TERMINATED", 1084 },
-{ "ER_TEXTFILE_NOT_READABLE", 1085 },
-{ "ER_FILE_EXISTS_ERROR", 1086 },
-{ "ER_LOAD_INFO", 1087 },
-{ "ER_ALTER_INFO", 1088 },
-{ "ER_WRONG_SUB_KEY", 1089 },
-{ "ER_CANT_REMOVE_ALL_FIELDS", 1090 },
-{ "ER_CANT_DROP_FIELD_OR_KEY", 1091 },
-{ "ER_INSERT_INFO", 1092 },
-{ "ER_UPDATE_TABLE_USED", 1093 },
-{ "ER_NO_SUCH_THREAD", 1094 },
-{ "ER_KILL_DENIED_ERROR", 1095 },
-{ "ER_NO_TABLES_USED", 1096 },
-{ "ER_TOO_BIG_SET", 1097 },
-{ "ER_NO_UNIQUE_LOGFILE", 1098 },
-{ "ER_TABLE_NOT_LOCKED_FOR_WRITE", 1099 },
-{ "ER_TABLE_NOT_LOCKED", 1100 },
-{ "ER_BLOB_CANT_HAVE_DEFAULT", 1101 },
-{ "ER_WRONG_DB_NAME", 1102 },
-{ "ER_WRONG_TABLE_NAME", 1103 },
-{ "ER_TOO_BIG_SELECT", 1104 },
-{ "ER_UNKNOWN_ERROR", 1105 },
-{ "ER_UNKNOWN_PROCEDURE", 1106 },
-{ "ER_WRONG_PARAMCOUNT_TO_PROCEDURE", 1107 },
-{ "ER_WRONG_PARAMETERS_TO_PROCEDURE", 1108 },
-{ "ER_UNKNOWN_TABLE", 1109 },
-{ "ER_FIELD_SPECIFIED_TWICE", 1110 },
-{ "ER_INVALID_GROUP_FUNC_USE", 1111 },
-{ "ER_UNSUPPORTED_EXTENSION", 1112 },
-{ "ER_TABLE_MUST_HAVE_COLUMNS", 1113 },
-{ "ER_RECORD_FILE_FULL", 1114 },
-{ "ER_UNKNOWN_CHARACTER_SET", 1115 },
-{ "ER_TOO_MANY_TABLES", 1116 },
-{ "ER_TOO_MANY_FIELDS", 1117 },
-{ "ER_TOO_BIG_ROWSIZE", 1118 },
-{ "ER_STACK_OVERRUN", 1119 },
-{ "ER_WRONG_OUTER_JOIN", 1120 },
-{ "ER_NULL_COLUMN_IN_INDEX", 1121 },
-{ "ER_CANT_FIND_UDF", 1122 },
-{ "ER_CANT_INITIALIZE_UDF", 1123 },
-{ "ER_UDF_NO_PATHS", 1124 },
-{ "ER_UDF_EXISTS", 1125 },
-{ "ER_CANT_OPEN_LIBRARY", 1126 },
-{ "ER_CANT_FIND_DL_ENTRY", 1127 },
-{ "ER_FUNCTION_NOT_DEFINED", 1128 },
-{ "ER_HOST_IS_BLOCKED", 1129 },
-{ "ER_HOST_NOT_PRIVILEGED", 1130 },
-{ "ER_PASSWORD_ANONYMOUS_USER", 1131 },
-{ "ER_PASSWORD_NOT_ALLOWED", 1132 },
-{ "ER_PASSWORD_NO_MATCH", 1133 },
-{ "ER_UPDATE_INFO", 1134 },
-{ "ER_CANT_CREATE_THREAD", 1135 },
-{ "ER_WRONG_VALUE_COUNT_ON_ROW", 1136 },
-{ "ER_CANT_REOPEN_TABLE", 1137 },
-{ "ER_INVALID_USE_OF_NULL", 1138 },
-{ "ER_REGEXP_ERROR", 1139 },
-{ "ER_MIX_OF_GROUP_FUNC_AND_FIELDS", 1140 },
-{ "ER_NONEXISTING_GRANT", 1141 },
-{ "ER_TABLEACCESS_DENIED_ERROR", 1142 },
-{ "ER_COLUMNACCESS_DENIED_ERROR", 1143 },
-{ "ER_ILLEGAL_GRANT_FOR_TABLE", 1144 },
-{ "ER_GRANT_WRONG_HOST_OR_USER", 1145 },
-{ "ER_NO_SUCH_TABLE", 1146 },
-{ "ER_NONEXISTING_TABLE_GRANT", 1147 },
-{ "ER_NOT_ALLOWED_COMMAND", 1148 },
-{ "ER_SYNTAX_ERROR", 1149 },
-{ "ER_DELAYED_CANT_CHANGE_LOCK", 1150 },
-{ "ER_TOO_MANY_DELAYED_THREADS", 1151 },
-{ "ER_ABORTING_CONNECTION", 1152 },
-{ "ER_NET...
[truncated message content] |
|
From: <cre...@us...> - 2007-06-17 00:50:34
|
Revision: 1683
http://svn.sourceforge.net/frontierkernel/?rev=1683&view=rev
Author: creecode
Date: 2007-06-16 17:50:36 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
bringing MySQL v5.0.37 into the MySQL branch
Added Paths:
-----------
Frontier/branches/mysql/Common/MySQL/
Copied: Frontier/branches/mysql/Common/MySQL (from rev 1682, Frontier/vendor/MySQL/5.0.37)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 00:46:47
|
Revision: 1682
http://svn.sourceforge.net/frontierkernel/?rev=1682&view=rev
Author: creecode
Date: 2007-06-16 17:46:49 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
deleting in prep for copy from MySQL vendor drop, really should have just done this one first, oh well
Removed Paths:
-------------
Frontier/branches/mysql/Common/MySQL/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 00:45:15
|
Revision: 1681
http://svn.sourceforge.net/frontierkernel/?rev=1681&view=rev
Author: creecode
Date: 2007-06-16 17:45:17 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
deleting in prep for copy from MySQL vendor drop
Removed Paths:
-------------
Frontier/branches/mysql/Common/MySQL/lib/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 00:44:56
|
Revision: 1680
http://svn.sourceforge.net/frontierkernel/?rev=1680&view=rev
Author: creecode
Date: 2007-06-16 17:44:58 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
deleting in prep for copy from MySQL vendor drop
Removed Paths:
-------------
Frontier/branches/mysql/Common/MySQL/include/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-17 00:35:34
|
Revision: 1679
http://svn.sourceforge.net/frontierkernel/?rev=1679&view=rev
Author: creecode
Date: 2007-06-16 17:35:33 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
tagging MySQL v5.0.37
Added Paths:
-----------
Frontier/vendor/MySQL/5.0.37/
Copied: Frontier/vendor/MySQL/5.0.37 (from rev 1678, Frontier/vendor/MySQL/current)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-16 22:30:45
|
Revision: 1678
http://svn.sourceforge.net/frontierkernel/?rev=1678&view=rev
Author: creecode
Date: 2007-06-16 15:30:44 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
importing a read me file
Added Paths:
-----------
Frontier/vendor/MySQL/Read_Me.txt
Added: Frontier/vendor/MySQL/Read_Me.txt
===================================================================
--- Frontier/vendor/MySQL/Read_Me.txt (rev 0)
+++ Frontier/vendor/MySQL/Read_Me.txt 2007-06-16 22:30:44 UTC (rev 1678)
@@ -0,0 +1,15 @@
+Normally we like to include the entire directory structure from vendor drops but MySQL is about 300 megabytes when including all the info for Mac ( Intel, PPC ) and Win. So what we do is drop all but the most relevant sub-directories for each platform.
+
+Sub-directories Kept
+
+ v5.0.37
+ osx10.3-powerpc
+ include
+ lib
+ osx10.4-i686
+ include
+ lib
+ win32
+ include
+ lib
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-16 22:26:45
|
Revision: 1677
http://svn.sourceforge.net/frontierkernel/?rev=1677&view=rev
Author: creecode
Date: 2007-06-16 15:26:46 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
importing initial MySQL v5.0.37 vendor drop
Added Paths:
-----------
Frontier/vendor/MySQL/current/
Frontier/vendor/MySQL/current/osx10.3-powerpc/
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/abi_check
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/base64.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config-os2.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/decimal.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/errmsg.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ft_global.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/hash.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/heap.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/help_end.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/help_start.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/keycache.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/m_ctype.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/m_string.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/md5.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_aes.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_alarm.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_alloc.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_base.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_bitmap.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_config.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_dbug.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_dir.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_getopt.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_global.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_handler.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_libwrap.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_list.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_net.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_no_pthread.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_nosys.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_pthread.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_semaphore.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_sys.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_time.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_tree.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_user.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/my_xml.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/myisam.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/myisammrg.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/myisampack.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql_com.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql_embed.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql_h.ic
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql_time.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysql_version.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysqld_ername.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysqld_error.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/mysys_err.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/mgmapi/
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/mgmapi/mgmapi.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/mgmapi/mgmapi_config_parameters.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/mgmapi/mgmapi_config_parameters_debug.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/mgmapi/mgmapi_debug.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/mgmapi/ndb_logevent.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/mgmapi/ndbd_exit_codes.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndb_constants.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndb_init.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndb_types.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndb_version.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/Ndb.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbApi.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbBlob.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbDictionary.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbError.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbIndexOperation.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbIndexScanOperation.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbOperation.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbPool.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbRecAttr.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbReceiver.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbScanFilter.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbScanOperation.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/NdbTransaction.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/ndb_cluster_connection.hpp
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/ndb_opt_defaults.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/ndbapi_limits.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/ndb/ndbapi/ndberror.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/queues.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/raid.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/rijndael.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/sha1.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/sql_common.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/sql_state.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/sslopt-case.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/sslopt-longopts.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/sslopt-vars.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/t_ctype.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/thr_alarm.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/thr_lock.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/typelib.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/include/violite.h
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libdbug.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmygcc.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysql.imp
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysqlclient_r.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmystrings.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libmysys.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libndbclient.a
Frontier/vendor/MySQL/current/osx10.3-powerpc/lib/libz.a
Frontier/vendor/MySQL/current/osx10.4-i686/
Frontier/vendor/MySQL/current/osx10.4-i686/include/
Frontier/vendor/MySQL/current/osx10.4-i686/include/abi_check
Frontier/vendor/MySQL/current/osx10.4-i686/include/base64.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/config-os2.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/config.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/decimal.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/errmsg.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ft_global.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/hash.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/heap.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/help_end.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/help_start.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/keycache.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/m_ctype.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/m_string.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/md5.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_aes.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_alarm.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_alloc.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_base.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_bitmap.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_config.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_dbug.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_dir.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_getopt.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_global.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_handler.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_libwrap.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_list.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_net.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_no_pthread.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_nosys.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_pthread.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_semaphore.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_sys.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_time.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_tree.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_user.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/my_xml.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/myisam.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/myisammrg.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/myisampack.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql_com.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql_embed.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql_h.ic
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql_time.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysql_version.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysqld_ername.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysqld_error.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/mysys_err.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/mgmapi/
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/mgmapi/mgmapi.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/mgmapi/mgmapi_config_parameters.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/mgmapi/mgmapi_config_parameters_debug.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/mgmapi/mgmapi_debug.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/mgmapi/ndb_logevent.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/mgmapi/ndbd_exit_codes.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndb_constants.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndb_init.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndb_types.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndb_version.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/Ndb.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbApi.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbBlob.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbDictionary.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbError.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbIndexOperation.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbIndexScanOperation.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbOperation.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbPool.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbRecAttr.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbReceiver.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbScanFilter.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbScanOperation.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/NdbTransaction.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/ndb_cluster_connection.hpp
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/ndb_opt_defaults.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/ndbapi_limits.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/ndb/ndbapi/ndberror.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/queues.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/raid.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/rijndael.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/sha1.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/sql_common.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/sql_state.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/sslopt-case.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/sslopt-longopts.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/sslopt-vars.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/t_ctype.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/thr_alarm.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/thr_lock.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/typelib.h
Frontier/vendor/MySQL/current/osx10.4-i686/include/violite.h
Frontier/vendor/MySQL/current/osx10.4-i686/lib/
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libdbug.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmygcc.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysql.imp
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysqlclient_r.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmystrings.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libmysys.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libndbclient.a
Frontier/vendor/MySQL/current/osx10.4-i686/lib/libz.a
Frontier/vendor/MySQL/current/win32/
Frontier/vendor/MySQL/current/win32/include/
Frontier/vendor/MySQL/current/win32/include/config-netware.h
Frontier/vendor/MySQL/current/win32/include/config-os2.h
Frontier/vendor/MySQL/current/win32/include/config-win.h
Frontier/vendor/MySQL/current/win32/include/errmsg.h
Frontier/vendor/MySQL/current/win32/include/libmysql.def
Frontier/vendor/MySQL/current/win32/include/m_ctype.h
Frontier/vendor/MySQL/current/win32/include/m_string.h
Frontier/vendor/MySQL/current/win32/include/my_alloc.h
Frontier/vendor/MySQL/current/win32/include/my_dbug.h
Frontier/vendor/MySQL/current/win32/include/my_getopt.h
Frontier/vendor/MySQL/current/win32/include/my_global.h
Frontier/vendor/MySQL/current/win32/include/my_list.h
Frontier/vendor/MySQL/current/win32/include/my_pthread.h
Frontier/vendor/MySQL/current/win32/include/my_sys.h
Frontier/vendor/MySQL/current/win32/include/mysql.h
Frontier/vendor/MySQL/current/win32/include/mysql_com.h
Frontier/vendor/MySQL/current/win32/include/mysql_embed.h
Frontier/vendor/MySQL/current/win32/include/mysql_time.h
Frontier/vendor/MySQL/current/win32/include/mysql_version.h
Frontier/vendor/MySQL/current/win32/include/mysqld_ername.h
Frontier/vendor/MySQL/current/win32/include/mysqld_error.h
Frontier/vendor/MySQL/current/win32/include/raid.h
Frontier/vendor/MySQL/current/win32/include/typelib.h
Frontier/vendor/MySQL/current/win32/lib/
Frontier/vendor/MySQL/current/win32/lib/debug/
Frontier/vendor/MySQL/current/win32/lib/debug/libmysql.dll
Frontier/vendor/MySQL/current/win32/lib/debug/libmysql.lib
Frontier/vendor/MySQL/current/win32/lib/debug/mysqlclient.lib
Frontier/vendor/MySQL/current/win32/lib/debug/mysys.lib
Frontier/vendor/MySQL/current/win32/lib/debug/regex.lib
Frontier/vendor/MySQL/current/win32/lib/debug/strings.lib
Frontier/vendor/MySQL/current/win32/lib/debug/zlib.lib
Frontier/vendor/MySQL/current/win32/lib/opt/
Frontier/vendor/MySQL/current/win32/lib/opt/libmysql.dll
Frontier/vendor/MySQL/current/win32/lib/opt/libmysql.lib
Frontier/vendor/MySQL/current/win32/lib/opt/mysqlclient.lib
Frontier/vendor/MySQL/current/win32/lib/opt/mysys-nt.lib
Frontier/vendor/MySQL/current/win32/lib/opt/mysys.lib
Frontier/vendor/MySQL/current/win32/lib/opt/regex.lib
Frontier/vendor/MySQL/current/win32/lib/opt/strings.lib
Frontier/vendor/MySQL/current/win32/lib/opt/zlib.lib
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/abi_check
===================================================================
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/base64.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/base64.h (rev 0)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/base64.h 2007-06-16 22:26:46 UTC (rev 1677)
@@ -0,0 +1,50 @@
+/* Copyright (C) 2003 MySQL AB
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+
+#ifndef __BASE64_H_INCLUDED__
+#define __BASE64_H_INCLUDED__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+#include <mysys_priv.h>
+
+/*
+ Calculate how much memory needed for dst of base64_encode()
+*/
+int base64_needed_encoded_length(int length_of_data);
+
+/*
+ Calculate how much memory needed for dst of base64_decode()
+*/
+int base64_needed_decoded_length(int length_of_encoded_data);
+
+/*
+ Encode data as a base64 string
+*/
+int base64_encode(const void *src, size_t src_len, char *dst);
+
+/*
+ Decode a base64 string into data
+*/
+int base64_decode(const char *src, size_t src_len, void *dst);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif /* !__BASE64_H_INCLUDED__ */
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config-os2.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config-os2.h (rev 0)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config-os2.h 2007-06-16 22:26:46 UTC (rev 1677)
@@ -0,0 +1,835 @@
+/* Copyright (C) 2000 MySQL AB & Yuri Dario
+ All the above parties has a full, independent copyright to
+ the following code, including the right to use the code in
+ any manner without any demands from the other parties.
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; version 2
+ of the License.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the Free
+ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+ MA 02111-1307, USA */
+
+/* Defines for OS2 to make it compatible for MySQL */
+
+#ifndef __CONFIG_OS2_H__
+#define __CONFIG_OS2_H__
+
+#include <os2.h>
+#include <math.h>
+#include <io.h>
+#include <types.h>
+
+/* Define to name of system eg solaris*/
+#define SYSTEM_TYPE "IBM OS/2 Warp"
+/* Define to machine type name eg sun10 */
+#define MACHINE_TYPE "i686"
+/* Name of package */
+#define PACKAGE "mysql"
+/* Version number of package */
+#define VERSION MYSQL_SERVER_VERSION
+/* Default socket */
+#define MYSQL_UNIX_ADDR "\\socket\\MySQL"
+
+#define FN_LIBCHAR '\\'
+#define FN_ROOTDIR "\\"
+#define MY_NFILE 1024 /* This is only used to save filenames */
+
+#define HAVE_ACCESS
+
+#define DEFAULT_MYSQL_HOME "c:\\mysql"
+#define DEFAULT_BASEDIR "C:\\"
+#define SHAREDIR "share"
+#define DEFAULT_CHARSET_HOME "C:/mysql/"
+#define _POSIX_PATH_MAX 255
+#define DWORD ULONG
+
+#define O_SHARE 0x1000 /* Open file in sharing mode */
+#define FILE_BINARY O_BINARY /* my_fopen in binary mode */
+#define S_IROTH S_IREAD /* for my_lib */
+
+#define CANT_DELETE_OPEN_FILES /* saves open files in a list, for delayed delete */
+
+#define O_NONBLOCK 0x10
+
+#define NO_OPEN_3 /* For my_create() */
+#define SIGQUIT SIGTERM /* No SIGQUIT */
+#define SIGALRM 14 /* Alarm */
+
+#define NO_FCNTL_NONBLOCK
+
+#define EFBIG E2BIG
+/*#define ENFILE EMFILE */
+/*#define ENAMETOOLONG (EOS2ERR+2) */
+/*#define ETIMEDOUT 145 */
+/*#define EPIPE 146 */
+#define EROFS 147
+
+#define sleep(A) DosSleep((A)*1000)
+#define closesocket(A) soclose(A)
+
+#define F_OK 0
+#define W_OK 2
+
+#define bzero(x,y) memset((x),'\0',(y))
+#define bcopy(x,y,z) memcpy((y),(x),(z))
+#define bcmp(x,y,z) memcmp((y),(x),(z))
+
+#define F_RDLCK 4 /* Read lock. */
+#define F_WRLCK 2 /* Write lock. */
+#define F_UNLCK 0 /* Remove lock. */
+
+#define S_IFMT 0x17000 /* Mask for file type */
+#define F_TO_EOF 0L /* Param to lockf() to lock rest of file */
+
+#define HUGE_PTR
+
+#ifdef __cplusplus
+extern "C"
+#endif
+double _cdecl rint( double nr);
+
+DWORD TlsAlloc( void);
+BOOL TlsFree( DWORD);
+PVOID TlsGetValue( DWORD);
+BOOL TlsSetValue( DWORD, PVOID);
+
+/* support for > 2GB file size */
+#define SIZEOF_OFF_T 8
+#define lseek(A,B,C) _lseek64( A, B, C)
+#define tell(A) _lseek64( A, 0, SEEK_CUR)
+
+void* dlopen( char* path, int flag);
+char* dlerror( void);
+void* dlsym( void* hmod, char* fn);
+void dlclose( void* hmod);
+
+/* Some typedefs */
+typedef unsigned long long os_off_t;
+
+/* config.h. Generated automatically by configure. */
+/* config.h.in. Generated automatically from configure.in by autoheader. */
+
+/* Define if using alloca.c. */
+/* #undef C_ALLOCA */
+
+/* Define to empty if the keyword does not work. */
+/* #undef const */
+
+/* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
+ This function is required for alloca.c support on those systems. */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define if you have alloca, as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
+/* #define HAVE_ALLOCA_H 1 */
+
+/* Define if you don't have vprintf but do have _doprnt. */
+/* #undef HAVE_DOPRNT */
+
+/* Define if you have a working `mmap' system call. */
+/* #undef HAVE_MMAP */
+
+/* Define if system calls automatically restart after interruption
+ by a signal. */
+/* #undef HAVE_RESTARTABLE_SYSCALLS */
+
+/* Define if your struct stat has st_rdev. */
+#define HAVE_ST_RDEV 1
+
+/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
+/* #define HAVE_SYS_WAIT_H 1 */
+
+/* Define if you don't have tm_zone but do have the external array
+ tzname. */
+#define HAVE_TZNAME 1
+
+/* Define if utime(file, NULL) sets file's timestamp to the present. */
+#define HAVE_UTIME_NULL 1
+
+/* Define if you have the vprintf function. */
+#define HAVE_VPRINTF 1
+
+/* Define as __inline if that's what the C compiler calls it. */
+/* #undef inline */
+
+/* Define to `long' if <sys/types.h> doesn't define. */
+/* #undef off_t */
+
+/* Define as the return type of signal handlers (int or void). */
+#define RETSIGTYPE void
+
+/* Define to `unsigned' if <sys/types.h> doesn't define. */
+/* #undef size_t */
+
+/* If using the C implementation of alloca, define if you know the
+ direction of stack growth for your system; otherwise it will be
+ automatically deduced at run-time.
+ STACK_DIRECTION > 0 => grows toward higher addresses
+ STACK_DIRECTION < 0 => grows toward lower addresses
+ STACK_DIRECTION = 0 => direction of growth unknown
+ */
+#define STACK_DIRECTION -1
+
+/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
+/* #undef STAT_MACROS_BROKEN */
+
+/* Define if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define if you can safely include both <sys/time.h> and <time.h>. */
+#define TIME_WITH_SYS_TIME 1
+
+/* Define if your <sys/time.h> declares struct tm. */
+/* #undef TM_IN_SYS_TIME */
+
+/* Define if your processor stores words with the most significant
+ byte first (like Motorola and SPARC, unlike Intel and VAX). */
+/* #undef WORDS_BIGENDIAN */
+
+/* Version of .frm files */
+#define DOT_FRM_VERSION 6
+
+/* READLINE: */
+#define FIONREAD_IN_SYS_IOCTL 1
+
+/* READLINE: Define if your system defines TIOCGWINSZ in sys/ioctl.h. */
+/* #undef GWINSZ_IN_SYS_IOCTL */
+
+/* Do we have FIONREAD */
+#define FIONREAD_IN_SYS_IOCTL 1
+
+/* atomic_add() from <asm/atomic.h> (Linux only) */
+/* #undef HAVE_ATOMIC_ADD */
+
+/* atomic_sub() from <asm/atomic.h> (Linux only) */
+/* #undef HAVE_ATOMIC_SUB */
+
+/* bool is not defined by all C++ compilators */
+#define HAVE_BOOL 1
+
+/* Have berkeley db installed */
+/* #define HAVE_BERKELEY_DB 1 */
+
+/* DSB style signals ? */
+/* #undef HAVE_BSD_SIGNALS */
+
+/* Can netinet be included */
+/* #undef HAVE_BROKEN_NETINET_INCLUDES */
+
+/* READLINE: */
+/* #undef HAVE_BSD_SIGNALS */
+
+/* ZLIB and compress: */
+#define HAVE_COMPRESS 1
+
+/* Define if we are using OSF1 DEC threads */
+/* #undef HAVE_DEC_THREADS */
+
+/* Define if we are using OSF1 DEC threads on 3.2 */
+/* #undef HAVE_DEC_3_2_THREADS */
+
+/* fp_except from ieeefp.h */
+/* #undef HAVE_FP_EXCEPT */
+
+/* READLINE: */
+/* #undef HAVE_GETPW_DECLS */
+
+/* Solaris define gethostbyname_r with 5 arguments. glibc2 defines
+ this with 6 arguments */
+/* #undef HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE */
+
+/* In OSF 4.0f the 3'd argument to gethostname_r is hostent_data * */
+/* #undef HAVE_GETHOSTBYNAME_R_RETURN_INT */
+
+/* Define if int8, int16 and int32 types exist */
+/* #undef HAVE_INT_8_16_32 */
+
+/* Define if have -lwrap */
+/* #undef HAVE_LIBWRAP */
+
+/* Define if we are using Xavier Leroy's LinuxThreads */
+/* #undef HAVE_LINUXTHREADS */
+
+/* Do we use user level threads */
+/* #undef HAVE_mit_thread */
+
+/* For some non posix threads */
+/* #undef HAVE_NONPOSIX_PTHREAD_GETSPECIFIC */
+
+/* For some non posix threads */
+/* #undef HAVE_NONPOSIX_PTHREAD_MUTEX_INIT */
+
+/* READLINE: */
+#define HAVE_POSIX_SIGNALS 0
+
+/* sigwait with one argument */
+/* #undef HAVE_NONPOSIX_SIGWAIT */
+
+/* pthread_attr_setscope */
+#define HAVE_PTHREAD_ATTR_SETSCOPE 1
+
+/* POSIX readdir_r */
+/* #undef HAVE_READDIR_R */
+
+/* POSIX sigwait */
+/* #undef HAVE_SIGWAIT */
+
+/* crypt */
+#define HAVE_CRYPT 1
+
+/* Solaris define gethostbyaddr_r with 7 arguments. glibc2 defines
+ this with 8 arguments */
+/* #undef HAVE_SOLARIS_STYLE_GETHOST */
+
+/* Timespec has a ts_sec instead of tv_sev */
+#define HAVE_TIMESPEC_TS_SEC 1
+
+/* Have the tzname variable */
+#define HAVE_TZNAME 1
+
+/* Define if the system files define uchar */
+/* #undef HAVE_UCHAR */
+
+/* Define if the system files define uint */
+/* #undef HAVE_UINT */
+
+/* Define if the system files define ulong */
+/* #undef HAVE_ULONG */
+
+/* UNIXWARE7 threads are not posix */
+/* #undef HAVE_UNIXWARE7_THREADS */
+
+/* new UNIXWARE7 threads that are not yet posix */
+/* #undef HAVE_UNIXWARE7_POSIX */
+
+/* READLINE: */
+/* #undef HAVE_USG_SIGHOLD */
+
+/* Define if want -lwrap */
+/* #undef LIBWRAP */
+
+/* mysql client protocoll version */
+#define PROTOCOL_VERSION 10
+
+/* Define if qsort returns void */
+#define QSORT_TYPE_IS_VOID 1
+
+/* Define as the return type of qsort (int or void). */
+#define RETQSORTTYPE void
+
+/* Define as the base type of the last arg to accept */
+#define SOCKET_SIZE_TYPE int
+
+/* Last argument to get/setsockopt */
+/* #undef SOCKOPT_OPTLEN_TYPE */
+
+/* #undef SPEED_T_IN_SYS_TYPES */
+/* #undef SPRINTF_RETURNS_PTR */
+#define SPRINTF_RETURNS_INT 1
+/* #undef SPRINTF_RETURNS_GARBAGE */
+
+/* #undef STRUCT_DIRENT_HAS_D_FILENO */
+#define STRUCT_DIRENT_HAS_D_INO 1
+
+/* Define if you want to have threaded code. This may be undef on client code */
+#define THREAD 1
+
+/* Should be client be thread safe */
+/* #undef THREAD_SAFE_CLIENT */
+
+/* READLINE: */
+/* #undef TIOCSTAT_IN_SYS_IOCTL */
+
+/* Use multi-byte character routines */
+/* #undef USE_MB */
+/* #undef USE_MB_IDENT */
+
+/* Use MySQL RAID */
+/* #undef USE_RAID */
+
+/* Use strcoll() functions when comparing and sorting. */
+/* #undef USE_STRCOLL */
+
+/* READLINE: */
+#define VOID_SIGHANDLER 1
+
+/* The number of bytes in a char. */
+#define SIZEOF_CHAR 1
+
+/* The number of bytes in a int. */
+#define SIZEOF_INT 4
+
+/* The number of bytes in a long. */
+#define SIZEOF_LONG 4
+
+/* The number of bytes in a long long. */
+#define SIZEOF_LONG_LONG 8
+
+/* Define if you have the alarm function. */
+#define HAVE_ALARM 1
+
+/* Define if you have the atod function. */
+/* #undef HAVE_ATOD */
+
+/* Define if you have the bcmp function. */
+#define HAVE_BCMP 1
+
+/* Define if you have the bfill function. */
+/* #undef HAVE_BFILL */
+
+/* Define if you have the bmove function. */
+/* #undef HAVE_BMOVE */
+
+/* Define if you have the bzero function. */
+#define HAVE_BZERO 1
+
+/* Define if you have the chsize function. */
+#define HAVE_CHSIZE 1
+
+/* Define if you have the cuserid function. */
+/* #define HAVE_CUSERID 1 */
+
+/* Define if you have the dlerror function. */
+#define HAVE_DLERROR 1
+
+/* Define if you have the dlopen function. */
+#define HAVE_DLOPEN 1
+
+/* Define if you have the fchmod function. */
+/* #undef HAVE_FCHMOD */
+
+/* Define if you have the fcntl function. */
+/* #define HAVE_FCNTL 1 */
+
+/* Define if you have the fconvert function. */
+/* #undef HAVE_FCONVERT */
+
+/* Define if you have the finite function. */
+/* #undef HAVE_FINITE */
+
+/* Define if you have the fpresetsticky function. */
+/* #undef HAVE_FPRESETSTICKY */
+
+/* Define if you have the fpsetmask function. */
+/* #undef HAVE_FPSETMASK */
+
+/* Define if you have the fseeko function. */
+/* #undef HAVE_FSEEKO */
+
+/* Define if you have the ftruncate function. */
+/* #define HAVE_FTRUNCATE 1 */
+
+/* Define if you have the getcwd function. */
+#define HAVE_GETCWD 1
+
+/* Define if you have the gethostbyaddr_r function. */
+/* #undef HAVE_GETHOSTBYADDR_R */
+
+/* Define if you have the gethostbyname_r function. */
+/* #undef HAVE_GETHOSTBYNAME_R */
+
+/* Define if you have the getpagesize function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define if you have the getpass function. */
+/*#define HAVE_GETPASS 1 */
+
+/* Define if you have the getpassphrase function. */
+/* #undef HAVE_GETPASSPHRASE */
+
+/* Define if you have the getpwnam function. */
+/* #define HAVE_GETPWNAM 1 */
+
+/* Define if you have the getpwuid function. */
+/* #define HAVE_GETPWUID 1 */
+
+/* Define if you have the getrlimit function. */
+/* #undef HAVE_GETRLIMIT */
+
+/* Define if you have the getrusage function. */
+/* #undef HAVE_GETRUSAGE */
+
+/* Define if you have the getwd function. */
+#define HAVE_GETWD 1
+
+/* Define to 1 if you have the `gmtime_r' function. */
+#define HAVE_GMTIME_R 1
+
+/* Define if you have the index function. */
+#define HAVE_INDEX 1
+
+/* Define if you have the initgroups function. */
+/* #undef HAVE_INITGROUPS */
+
+/* Define if you have the localtime_r function. */
+#define HAVE_LOCALTIME_R 1
+
+/* Define if you have the locking function. */
+/* #undef HAVE_LOCKING */
+
+/* Define if you have the longjmp function. */
+#define HAVE_LONGJMP 1
+
+/* Define if you have the lrand48 function. */
+/* #undef HAVE_LRAND48 */
+
+/* Define if you have the lstat function. */
+/* #undef HAVE_LSTAT */
+
+/* Define if you have the madvise function. */
+/* #undef HAVE_MADVISE */
+
+/* Define if you have the memcpy function. */
+#define HAVE_MEMCPY 1
+
+/* Define if you have the memmove function. */
+#define HAVE_MEMMOVE 1
+
+/* Define if you have the mkstemp function. */
+/* #define HAVE_MKSTEMP 1 */
+
+/* Define if you have the mlockall function. */
+/* #undef HAVE_MLOCKALL */
+
+/* Define if you have the perror function. */
+#define HAVE_PERROR 1
+
+/* Define if you have the poll function. */
+/* #undef HAVE_POLL */
+
+/* Define if you have the pread function. */
+/* #undef HAVE_PREAD */
+
+/* Define if you have the pthread_attr_create function. */
+/* #undef HAVE_PTHREAD_ATTR_CREATE */
+
+/* Define if you have the pthread_attr_setprio function. */
+#define HAVE_PTHREAD_ATTR_SETPRIO 1
+
+/* Define if you have the pthread_attr_setschedparam function. */
+/* #undef HAVE_PTHREAD_ATTR_SETSCHEDPARAM */
+
+/* Define if you have the pthread_attr_setstacksize function. */
+#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
+
+/* Define if you have the pthread_condattr_create function. */
+/* #undef HAVE_PTHREAD_CONDATTR_CREATE */
+
+/* Define if you have the pthread_getsequence_np function. */
+/* #undef HAVE_PTHREAD_GETSEQUENCE_NP */
+
+/* Define if you have the pthread_init function. */
+/* #undef HAVE_PTHREAD_INIT */
+
+/* Define if you have the pthread_rwlock_rdlock function. */
+/* #undef HAVE_PTHREAD_RWLOCK_RDLOCK */
+
+/* Define if you have the pthread_setprio function. */
+#define HAVE_PTHREAD_SETPRIO 1
+
+/* Define if you have the pthread_setprio_np function. */
+/* #undef HAVE_PTHREAD_SETPRIO_NP */
+
+/* Define if you have the pthread_setschedparam function. */
+/* #undef HAVE_PTHREAD_SETSCHEDPARAM */
+
+/* Define if you have the pthread_sigmask function. */
+#define HAVE_PTHREAD_SIGMASK 1
+
+/* Define if you have the putenv function. */
+#define HAVE_PUTENV 1
+
+/* Define if you have the readlink function. */
+/* #undef HAVE_READLINK */
+
+/* Define if you have the realpath function. */
+/* #undef HAVE_REALPATH */
+
+/* Define if you have the rename function. */
+#define HAVE_RENAME 1
+
+/* Define if you have the rint function. */
+#define HAVE_RINT 1
+
+/* Define if you have the rwlock_init function. */
+/* #undef HAVE_RWLOCK_INIT */
+
+/* Define if you have the select function. */
+#define HAVE_SELECT 1
+
+/* Define if you have the setenv function. */
+/* #undef HAVE_SETENV */
+
+/* Define if you have the setlocale function. */
+#define HAVE_SETLOCALE 1
+
+/* Define if you have the setupterm function. */
+/* #undef HAVE_SETUPTERM */
+
+/* Define if you have the sighold function. */
+/* #undef HAVE_SIGHOLD */
+
+/* Define if you have the sigset function. */
+/* #undef HAVE_SIGSET */
+
+/* Define if you have the sigthreadmask function. */
+/* #undef HAVE_SIGTHREADMASK */
+
+/* Define if you have the snprintf function. */
+/* #define HAVE_SNPRINTF 1 */
+
+/* Define if you have the socket function. */
+#define HAVE_SOCKET 1
+
+/* Define if you have the stpcpy function. */
+/* #undef HAVE_STPCPY */
+
+/* Define if you have the strcasecmp function. */
+/* #undef HAVE_STRCASECMP */
+
+/* Define if you have the strcoll function. */
+#define HAVE_STRCOLL 1
+
+/* Define if you have the strerror function. */
+#define HAVE_STRERROR 1
+
+/* Define if you have the strnlen function. */
+/* #undef HAVE_STRNLEN */
+
+/* Define if you have the strpbrk function. */
+#define HAVE_STRPBRK 1
+
+/* Define if you have the strstr function. */
+#define HAVE_STRSTR 1
+
+/* Define if you have the strtok_r function. */
+/* #undef HAVE_STRTOK_R */
+
+/* Define if you have the strtol function. */
+#define HAVE_STRTOL 1
+
+/* Define if you have the strtoul function. */
+#define HAVE_STRTOUL 1
+
+/* Define if you have the strtoull function. */
+/* #undef HAVE_STRTOULL */
+
+/* Define if you have the tcgetattr function. */
+#define HAVE_TCGETATTR 1
+
+/* Define if you have the tell function. */
+#define HAVE_TELL 1
+
+/* Define if you have the tempnam function. */
+#define HAVE_TEMPNAM 1
+
+/* Define if you have the thr_setconcurrency function. */
+/* #undef HAVE_THR_SETCONCURRENCY */
+
+/* Define if you have the vidattr function. */
+/* #undef HAVE_VIDATTR */
+
+/* Define if you have the <alloca.h> header file. */
+/* #define HAVE_ALLOCA_H 1 */
+
+/* Define if you have the <arpa/inet.h> header file. */
+#define HAVE_ARPA_INET_H 1
+
+/* Define if you have the <asm/termbits.h> header file. */
+/* #undef HAVE_ASM_TERMBITS_H */
+
+/* Define if you have the <crypt.h> header file. */
+#define HAVE_CRYPT_H 1
+
+/* Define if you have the <curses.h> header file. */
+/* #define HAVE_CURSES_H 1 */
+
+/* Define if you have the <dirent.h> header file. */
+/* #define HAVE_DIRENT_H 1 */
+
+/* Define if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define if you have the <float.h> header file. */
+#define HAVE_FLOAT_H 1
+
+/* Define if you have the <floatingpoint.h> header file. */
+/* #undef HAVE_FLOATINGPOINT_H */
+
+/* Define if you have the <grp.h> header file. */
+/* #define HAVE_GRP_H 1 */
+
+/* Define if you have the <ieeefp.h> header file. */
+/* #undef HAVE_IEEEFP_H */
+
+/* Define if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define if you have the <ndir.h> header file. */
+/* #undef HAVE_NDIR_H */
+
+/* Define if you have the <netinet/in.h> header file. */
+#define HAVE_NETINET_IN_H 1
+
+/* Define if you have the <paths.h> header file. */
+/* #undef HAVE_PATHS_H */
+
+/* Define if you have the <pwd.h> header file. */
+/* #define HAVE_PWD_H 1 */
+
+/* Define if you have the <sched.h> header file. */
+/* #undef HAVE_SCHED_H */
+
+/* Define if you have the <select.h> header file. */
+/* #undef HAVE_SELECT_H */
+
+/* Define if you have the <stdarg.h> header file. */
+#define HAVE_STDARG_H 1
+
+/* Define if you have the <stddef.h> header file. */
+#define HAVE_STDDEF_H 1
+
+/* Define if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define if you have the <strings.h> header file. */
+/* #define HAVE_STRINGS_H 1 */
+
+/* Define if you have the <synch.h> header file. */
+/* #undef HAVE_SYNCH_H */
+
+/* Define if you have the <sys/dir.h> header file. */
+/* #define HAVE_SYS_DIR_H 1 */
+
+/* Define if you have the <sys/file.h> header file. */
+/* #define HAVE_SYS_FILE_H 1 */
+
+/* Define if you have the <sys/ioctl.h> header file. */
+#define HAVE_SYS_IOCTL_H 1
+
+/* Define if you have the <sys/mman.h> header file. */
+/* #undef HAVE_SYS_MMAN_H */
+
+/* Define if you have the <sys/ndir.h> header file. */
+/* #undef HAVE_SYS_NDIR_H */
+
+/* Define if you have the <sys/pte.h> header file. */
+/* #undef HAVE_SYS_PTE_H */
+
+/* Define if you have the <sys/ptem.h> header file. */
+/* #undef HAVE_SYS_PTEM_H */
+
+/* Define if you have the <sys/select.h> header file. */
+#define HAVE_SYS_SELECT_H 1
+
+/* Define if you have the <sys/socket.h> header file. */
+#define HAVE_SYS_SOCKET_H 1
+
+/* Define if you have the <sys/stream.h> header file. */
+/* #undef HAVE_SYS_STREAM_H */
+
+/* Define if you have the <sys/timeb.h> header file. */
+#define HAVE_SYS_TIMEB_H 1
+
+/* Define if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define if you have the <sys/un.h> header file. */
+#define HAVE_SYS_UN_H 1
+
+/* Define if you have the <sys/utime.h> header file. */
+#define HAVE_SYS_UTIME_H 1
+
+/* Define if you have the <sys/vadvise.h> header file. */
+/* #undef HAVE_SYS_VADVISE_H */
+
+/* Define if you have the <sys/wait.h> header file. */
+/* #define HAVE_SYS_WAIT_H 1 */
+
+/* Define if you have the <term.h> header file. */
+/* #undef HAVE_TERM_H */
+
+/* Define if you have the <termbits.h> header file. */
+/* #undef HAVE_TERMBITS_H */
+
+/* Define if you have the <termcap.h> header file. */
+/* #define HAVE_TERMCAP_H 1 */
+
+/* Define if you have the <termio.h> header file. */
+/* /#define HAVE_TERMIO_H 1 */
+
+/* Define if you have the <termios.h> header file. */
+/* #define HAVE_TERMIOS_H 1 */
+
+/* Define if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define if you have the <utime.h> header file. */
+#define HAVE_UTIME_H 1
+
+/* Define if you have the <varargs.h> header file. */
+#define HAVE_VARARGS_H 1
+
+/* Define if you have the bind library (-lbind). */
+/* #undef HAVE_LIBBIND */
+
+/* Define if you have the c_r library (-lc_r). */
+/* #undef HAVE_LIBC_R */
+
+/* Define if you have the compat library (-lcompat). */
+/* #undef HAVE_LIBCOMPAT */
+
+/* Define if you have the crypt library (-lcrypt). */
+#define HAVE_LIBCRYPT 1
+
+/* Define if you have the dl library (-ldl). */
+#define HAVE_LIBDL 1
+
+/* Define if you have the gen library (-lgen). */
+/* #undef HAVE_LIBGEN */
+
+/* Define if you have the m library (-lm). */
+#define HAVE_LIBM 1
+
+/* Define if you have the nsl library (-lnsl). */
+/* #undef HAVE_LIBNSL */
+
+/* Define if you have the nsl_r library (-lnsl_r). */
+/* #undef HAVE_LIBNSL_R */
+
+/* Define if you have the pthread library (-lpthread). */
+/* #undef HAVE_LIBPTHREAD */
+
+/* Define if you have the socket library (-lsocket). */
+/* #undef HAVE_LIBSOCKET */
+
+/* Number of bits in a file offset, on hosts where this is settable. */
+/* #undef _FILE_OFFSET_BITS */
+
+/* Define to make fseeko etc. visible, on some hosts. */
+/* #undef _LARGEFILE_SOURCE */
+
+/* Define for large files, on AIX-style hosts. */
+/* #undef _LARGE_FILES */
+
+#endif /* __CONFIG_OS2_H__ */
Added: Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config.h
===================================================================
--- Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config.h (rev 0)
+++ Frontier/vendor/MySQL/current/osx10.3-powerpc/include/config.h 2007-06-16 22:26:46 UTC (rev 1677)
@@ -0,0 +1,1148 @@
+/* config.h. Generated by configure. */
+/* config.h.in. Generated from configure.in by autoheader. */
+
+/* Support big tables */
+#define BIG_TABLES 1
+
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+ systems. This function is required for `alloca.c' support on those systems.
+ */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define to 1 if using `alloca.c'. */
+/* #undef C_ALLOCA */
+
+/* all charsets are available */
+#define DEFINE_ALL_CHARACTER_SETS 1
+
+/* Disables the use of --init-file, --skip-grant-tables and --bootstrap
+ options */
+/* #undef DISABLE_GRANT_OPTIONS */
+
+/* Version of .frm files */
+#define DOT_FRM_VERSION 6
+
+/* If LOAD DATA LOCAL INFILE should be enabled by default */
+#define ENABLED_LOCAL_INFILE 1
+
+/* If SHOW PROFILE should be enabled */
+#define ENABLED_PROFILING 1
+
+/* Do we have FIONREAD */
+#define FIONREAD_IN_SYS_IOCTL 1
+
+/* READLINE: your system defines TIOCGWINSZ in sys/ioctl.h. */
+#define GWINSZ_IN_SYS_IOCTL 1
+
+/* Define to 1 if you have the `alarm' function. */
+#define HAVE_ALARM 1
+
+/* Define to 1 if you have `alloca', as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+ */
+#define HAVE_ALLOCA_H 1
+
+/* Builds Archive Storage Engine */
+#define HAVE_ARCHIVE_DB 1
+
+/* Define to 1 if you have the <arpa/inet.h> header file. */
+#define HAVE_ARPA_INET_H 1
+
+/* Define to 1 if you have the <asm/termbits.h> header file. */
+/* #undef HAVE_ASM_TERMBITS_H */
+
+/* atomic_add() from <asm/atomic.h> (Linux only) */
+/* #undef HAVE_ATOMIC_ADD */
+
+/* atomic_sub() from <asm/atomic.h> (Linux only) */
+/* #undef HAVE_ATOMIC_SUB */
+
+/* Define to 1 if you have the `bcmp' function. */
+#define HAVE_BCMP 1
+
+/* Have berkeley db installed */
+/* #undef HAVE_BERKELEY_DB */
+
+/* Define to 1 if you have the `bfill' function. */
+/* #undef HAVE_BFILL */
+
+/* Builds Blackhole Storage Engine */
+#define HAVE_BLACKHOLE_DB 1
+
+/* Define to 1 if you have the `bmove' function. */
+/* #undef HAVE_BMOVE */
+
+/* bool is not defined by all C++ compilators */
+#define HAVE_BOOL 1
+
+/* Can netinet be included */
+/* #undef HAVE_BROKEN_NETINET_INCLUDES */
+
+/* BSD style signals */
+/* #undef HAVE_BSD_SIGNALS */
+
+/* Define to 1 if you have the `bzero' function. */
+#define HAVE_BZERO 1
+
+/* Define to enable charset armscii8 */
+#define HAVE_CHARSET_armscii8 1
+
+/* Define to enable ascii character set */
+#define HAVE_CHARSET_ascii 1
+
+/* Define to enable charset big5 */
+#define HAVE_CHARSET_big5 1
+
+/* Define to enable cp1250 */
+#define HAVE_CHARSET_cp1250 1
+
+/* Define to enable charset cp1251 */
+#define HAVE_CHARSET_cp1251 1
+
+/* Define to enable charset cp1256 */
+#define HAVE_CHARSET_cp1256 1
+
+/* Define to enable charset cp1257 */
+#define HAVE_CHARSET_cp1257 1
+
+/* Define to enable charset cp850 */
+#define HAVE_CHARSET_cp850 1
+
+/* Define to enable charset cp852 */
+#define HAVE_CHARSET_cp852 1
+
+/* Define to enable charset cp866 */
+#define HAVE_CHARSET_cp866 1
+
+/* Define to enable charset cp932 */
+#define HAVE_CHARSET_cp932 1
+
+/* Define to enable charset dec8 */
+#define HAVE_CHARSET_dec8 1
+
+/* Define to enable charset eucjpms */
+#define HAVE_CHARSET_eucjpms 1
+
+/* Define to enable charset euckr */
+#define HAVE_CHARSET_euckr 1
+
+/* Define to enable charset gb2312 */
+#define HAVE_CHARSET_gb2312 1
+
+/* Define to enable charset gbk */
+#define HAVE_CHARSET_gbk 1
+
+/* Define to enable charset geostd8 */
+#define HAVE_CHARSET_geostd8 1
+
+/* Define to enable charset greek */
+#define HAVE_CHARSET_greek 1
+
+/* Define to enable charset hebrew */
+#define HAVE_CHARSET_hebrew 1
+
+/* Define to enable charset hp8 */
+#define HAVE_CHARSET_hp8 1
+
+/* Define to enable charset keybcs2 */
+#define HAVE_CHARSET_keybcs2 1
+
+/* Define to enable charset koi8r */
+#define HAVE_CHARSET_koi8r 1
+
+/* Define to enable charset koi8u */
+#define HAVE_CHARSET_koi8u 1
+
+/* Define to enable charset latin1 */
+#define HAVE_CHARSET_latin1 1
+
+/* Define to enable charset latin2 */
+#define HAVE_CHARSET_latin2 1
+
+/* Define to enable charset latin5 */
+#define HAVE_CHARSET_latin5 1
+
+/* Define to enable charset latin7 */
+#define HAVE_CHARSET_latin7 1
+
+/* Define to enable charset macce */
+#define HAVE_CHARSET_macce 1
+
+/* Define to enable charset macroman */
+#define HAVE_CHARSET_macroman 1
+
+/* Define to enable charset sjis */
+#define HAVE_CHARSET_sjis 1
+
+/* Define to enable charset swe7 */
+#define HAVE_CHARSET_swe7 1
+
+/* Define to enable charset tis620 */
+#define HAVE_CHARSET_tis620 1
+
+/* Define to enable charset ucs2 */
+#define HAVE_CHARSET_ucs2 1
+
+/* Define to enable charset ujis */
+#define HAVE_CHARSET_ujis 1
+
+/* Define to enable ut8 */
+#define HAVE_CHARSET_utf8 1
+
+/* Define to 1 if you have the `chsize' function. */
+/* #undef HAVE_CHSIZE */
+
+/* Define to 1 if you have the `clock_gettime' function. */
+/* #undef HAVE_CLOCK_GETTIME */
+
+/* Define to enable compression support */
+#define HAVE_COMPRESS 1
+
+/* crypt */
+#define HAVE_CRYPT 1
+
+/* Define to 1 if you have the <crypt.h> header file. */
+/* #undef HAVE_CRYPT_H */
+
+/* Builds the CSV Storage Engine */
+#define HAVE_CSV_DB 1
+
+/* Define to 1 if you have the <curses.h> header file. */
+#define HAVE_CURSES_H 1
+
+/* Define to 1 if you have the `cuserid' function. */
+/* #undef HAVE_CUSERID */
+
+/* Define to 1 if you have the declaration of `madvise', and to 0 if you
+ don't. */
+#define HAVE_DECL_MADVISE 1
+
+/* Define to 1 if you have the declaration of `SHM_HUGETLB', and to 0 if you
+ don't. */
+/* #undef HAVE_DECL_SHM_HUGETLB */
+
+/* Whether we are using DEC threads */
+/* #undef HAVE_DEC_THREADS */
+
+/* Define to 1 if you have the <dirent.h> header file. */
+#define HAVE_DIRENT_H 1
+
+/* Define to 1 if you have the `dlerror' function. */
+#define HAVE_DLERROR 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the `dlopen' function. */
+#define HAVE_DLOPEN 1
+
+/* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
+/* #undef HAVE_DOPRNT */
+
+/* Access checks in embedded library */
+/* #undef HAVE_EMBEDDED_PRIVILEGE_CONTROL */
+
+/* Builds Example DB */
+#define HAVE_EXAMPLE_DB 1
+
+/* Defined by configure. Use explicit template instantiation. */
+#define HAVE_EXPLICIT_TEMPLATE_INSTANTIATION 1
+
+/* Define to 1 if you have the `fchmod' function. */
+#define HAVE_FCHMOD 1
+
+/* Define to 1 if you have the `fcntl' function. */
+#define HAVE_FCNTL 1
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define to 1 if you have the `fconvert' function. */
+/* #undef HAVE_FCONVERT */
+
+/* Define to 1 if you have the `fdatasync' function. */
+/* #undef HAVE_FDATASYNC */
+
+/* Define to enable Federated Handler */
+#define HAVE_FEDERATED_DB 1
+
+/* Define to 1 if you have the `fgetln' function. */
+#define HAVE_FGETLN 1
+
+/* Define to 1 if you have the `finite' function. */
+#define HAVE_FINITE 1
+
+/* Define to 1 if you have the <floatingpoint.h> header file. */
+/* #undef HAVE_FLOATINGPOINT_H */
+
+/* Define to 1 if you have the <float.h> header file. */
+#define HAVE_FLOAT_H 1
+
+/* Define to 1 if you have the `flockfile' function. */
+#define HAVE_FLOCKFILE 1
+
+/* Define to 1 if you have the `fpresetsticky' function. */
+/* #undef HAVE_FPRESETSTICKY */
+
+/* Define to 1 if you have the `fpsetmask' function. */
+/* #undef HAVE_FPSETMASK */
+
+/* fp_except from ieeefp.h */
+/* #undef HAVE_FP_EXCEPT */
+
+/* Define to 1 if you have the `fsync' function. */
+#define HAVE_FSYNC 1
+
+/* Define to 1 if you have the `ftruncate' function. */
+#define HAVE_FTRUNCATE 1
+
+/* Define to 1 if you have the `getcwd' function. */
+#define HAVE_GETCWD 1
+
+/* Define to 1 if you have the `gethostbyaddr_r' function. */
+/* #undef HAVE_GETHOSTBYADDR_R */
+
+/* Define to 1 if you have the `gethostbyname_r' function. */
+/* #undef HAVE_GETHOSTBYNAME_R */
+
+/* Solaris define gethostbyname_r with 5 arguments. glibc2 defines this with 6
+ arguments */
+/* #undef HAVE_GETHOSTBYNAME_R_GLIBC2_STYLE */
+
+/* In OSF 4.0f the 3'd argument to gethostname_r is hostent_data * */
+/* #undef HAVE_GETHOSTBYNAME_R_RETURN_INT */
+
+/* Define to 1 if you have the `getline' function. */
+/* #undef HAVE_GETLINE */
+
+/* Define to 1 if you have the `getpagesize' function. */
+#define HAVE_GETPAGESIZE 1
+
+/* Define to 1 if you have the `getpass' function. */
+#define HAVE_GETPASS 1
+
+/* Define to 1 if you have the `getpassphrase' function. */
+/* #undef HAVE_GETPASSPHRASE */
+
+/* Define to 1 if you have the `getpwnam' function. */
+#define HAVE_GETPWNAM 1
+
+/* Define to 1 if you have the `getpwuid' function. */
+#define HAVE_GETPWUID 1
+
+/* getpwent() declaration present */
+/* #undef HAVE_GETPW_DECLS */
+
+/* Define to 1 if you have the `getrlimit' function. */
+#define HAVE_GETRLIMIT 1
+
+/* Define to 1 if you have the `getrusage' function. */
+#define HAVE_GETRUSAGE 1
+
+/* Define to 1 if you have the `getwd' function. */
+#define HAVE_GETWD 1
+
+/* Define to 1 if you have the `gmtime_r' function. */
+#define HAVE_GMTIME_R 1
+
+/* Define to 1 if you have the <grp.h> header file. */
+#define HAVE_GRP_H 1
+
+/* HIST_ENTRY is defined in the outer libeditreadline */
+/* #undef HAVE_HIST_ENTRY */
+
+/* Define to 1 if you have the <ieeefp.h> header file. */
+/* #undef HAVE_IEEEFP_H */
+
+/* Define to 1 if you have the `index' function. */
+#define HAVE_INDEX 1
+
+/* Define to 1 if you have the `initgroups' function. */
+#define HAVE_INITGROUPS 1
+
+/* Using Innobase DB */
+#define HAVE_INNOBASE_DB 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* whether int8, int16 and int32 types exist */
+/* #undef HAVE_INT_8_16_32 */
+
+/* system headers define in_addr_t */
+#define HAVE_IN_ADDR_T 1
+
+/* isinf() macro or function */
+#define HAVE_ISINF 1
+
+/* Define to 1 if you have the `isnan' function. */
+#define HAVE_ISNAN 1
+
+/* Define to 1 if you have the `issetugid' function. */
+#define HAVE_ISSETUGID 1
+
+/* Define if mysql_cv_langinfo_codeset=yes */
+#define HAVE_LANGINFO_CODESET
+
+/* Define to 1 if you have the <langinfo.h> header file. */
+#define HAVE_LANGINFO_H 1
+
+/* Define if you have large pages support */
+/* #undef HAVE_LARGE_PAGES */
+
+/* Define to 1 if you have the `bind' library (-lbind). */
+/* #undef HAVE_LIBBIND */
+
+/* Define to 1 if you have the `compat' library (-lcompat). */
+/* #undef HAVE_LIBCOMPAT */
+
+/* Define to 1 if you have the `c_r' library (-lc_r). */
+/* #undef HAVE_LIBC_R */
+
+/* Define to 1 if you have the `dl' library (-ldl). */
+#define HAVE_LIBDL 1
+
+/* Define to 1 if you have the `gen' library (-lgen). */
+/* #undef HAVE_LIBGEN */
+
+/* Define to 1 if you have the `m' library (-lm). */
+#define HAVE_LIBM 1
+
+/* Define to 1 if you have the `nsl' library (-lnsl). */
+/* #undef HAVE_LIBNSL */
+
+/* Define to 1 if you have the `nsl_r' library (-lnsl_r). */
+/* #undef HAVE_LIBNSL_R */
+
+/* Define to 1 if you have the `posix4' library (-lposix4). */
+/* #undef HAVE_LIBPOSIX4 */
+
+/* Define to 1 if you have the `pthread' library (-lpthread). */
+#define HAVE_LIBPTHREAD 1
+
+/* Define to 1 if you have the `socket' library (-lsocket). */
+/* #undef HAVE_LIBSOCKET */
+
+/* Define if have -lwrap */
+/* #undef HAVE_LIBWRAP */
+
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Whether we are using Xavier Leroy's LinuxThreads */
+/* #undef HAVE_LINUXTHREADS */
+
+/* Define to 1 if you have the <linux/config.h> header file. */
+/* #undef HAVE_LINUX_CONFIG_H */
+
+/* Define to 1 if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define to 1 if you have the `localtime_r' function. */
+#define HAVE_LOCALTIME_R 1
+
+/* Define to 1 if you have the `locking' function. */
+/* #undef HAVE_LOCKING */
+
+/* Define to 1 if you have the `longjmp' function. */
+#define HAVE_LONGJMP 1
+
+/* Define to 1 if you have the `lrand48' function. */
+#define HAVE_LRAND48 1
+
+/* Define to 1 if you have the `lstat' function. */
+#define HAVE_LSTAT 1
+
+/* Define to 1 if you have the `madvise' function. */
+#define HAVE_MADVISE 1
+
+/* Define to 1 if you have the `mallinfo' function. */
+/* #undef HAVE_MALLINFO */
+
+/* Define to 1 if you have the <malloc.h> header file. */
+/* #undef HAVE_MALLOC_H */
+
+/* Define if you have mbrlen */
+#define HAVE_MBRLEN
+
+/* Define if you have mbrtowc */
+#define HAVE_MBRTOWC
+
+/* Define if you have mbsrtowcs */
+#define HAVE_MBSRTOWCS
+
+/* Define if mysql_cv_have_mbstate_t=yes */
+#define HAVE_MBSTATE_T
+
+/* Define to 1 if you have the `memcpy' function. */
+#define HAVE_MEMCPY 1
+
+/* Define to 1 if you have the `memmove' function. */
+#define HAVE_MEMMOVE 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `mkstemp' function. */
+#define HAVE_MKSTEMP 1
+
+/* Define to 1 if you have the `mlockall' function. */
+#define HAVE_MLOCKALL 1
+
+/* Define to 1 if you have the `mmap' function. */
+#define HAVE_MMAP 1
+
+/* Using Ndb Cluster DB */
+#define HAVE_NDBCLUSTER_DB 1
+
+/* Define to 1 if you have the <ndir.h> header file. */
+/* #undef HAVE_NDIR_H */
+
+/* Define to 1 if you have the <netinet/in.h> header file. */
+#define HAVE_NETINET_IN_H 1
+
+/* For some non posix threads */
+/* #undef HAVE_NONPOSIX_PTHREAD_GETSPECIFIC */
+
+/* For some non posix threads */
+/* #undef HAVE_NONPOSIX_PTHREAD_MUTEX_INIT */
+
+/* sigwait with one argument */
+/* #undef HAVE_NONPOSIX_SIGWAIT */
+
+/* NPTL threads implementation */
+/* #undef HAVE_NPTL */
+
+/* Define to 1 if the system has the type `off_t'. */
+#define HAVE_OFF_T 1
+
+/* Defined by configure. Using yaSSL for OpenSSL emulation. */
+#define HAVE_OPENSSL 1
+
+/* Define to 1 if you have the <paths.h> header file. */
+#define HAVE_PATHS_H 1
+
+/* Define to 1 if you have the `perror' function. */
+#define HAVE_PERROR 1
+
+/* Define to 1 if you have the `poll' function. */
+#define HAVE_POLL 1
+
+/* Signal handling is POSIX (sigset/sighold, etc) */
+#define HAVE_POSIX_SIGNALS 1
+
+/* Define to 1 if you have the `pread' function. */
+#define HAVE_PREAD 1
+
+/* Define to 1 if you have the `pthread_attr_create' function. */
+/* #undef HAVE_PTHREAD_ATTR_CREATE */
+
+/* Define to 1 if you have the `pthread_attr_getstacksize' function. */
+#define HAVE_PTHREAD_ATTR_GETSTACKSIZE 1
+
+/* Define to 1 if you have the `pthread_attr_setprio' function. */
+/* #undef HAVE_PTHREAD_ATTR_SETPRIO */
+
+/* Define to 1 if you have the `pthread_attr_setschedparam' function. */
+#define HAVE_PTHREAD_ATTR_SETSCHEDPARAM 1
+
+/* pthread_attr_setscope */
+#define HAVE_PTHREAD_ATTR_SETSCOPE 1
+
+/* Define to 1 if you have the `pthread_attr_setstacksize' function. */
+#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
+
+/* Define to 1 if you have the `pthread_condattr_create' function. */
+/* #undef HAVE_PTHREAD_CONDATTR_CREATE */
+
+/* Define to 1 if you have the `pthread_getsequence_np' function. */
+/* #undef HAVE_PTHREAD_GETSEQUENCE_NP */
+
+/* Define to 1 if you have the `pthread_init' function. */
+/* #undef HAVE_PTHREAD_INIT */
+
+/* Define to 1 if you have the `pthread_key_delete' function. */
+#define HAVE_PTHREAD_KEY_DELETE 1
+
+/* Define to 1 if you have the `pthread_rwlock_rdlock' function. */
+#define HAVE_PTHREAD_RWLOCK_RDLOCK 1
+
+/* Define to 1 if you have the `pthread_setprio' function. */
+/* #undef HAVE_PTHREAD_SETPRIO */
+
+/* Define to 1 if you have the `pthread_setprio_np' function. */
+/* #undef HAVE_PTHREAD_SETPRIO_NP */
+
+/* Define to 1 if you have the `pthread_setschedparam' function. */
+#define HAVE_PTHREAD_SETSCHEDPARAM 1
+
+/* Define to 1 if you have the `pthread_sigmask' function. */
+#define HAVE_PTHREAD_SIGMASK 1
+
+/* pthread_yield function with one argument */
+/* #undef HAVE_PTHREAD_YIELD_ONE_ARG */
+
+/* pthread_yield that doesn't take any arguments */
+/* #undef HAVE_PTHREAD_YIELD_ZERO_ARG */
+
+/* Define to 1 if you have the `putenv' function. */
+#define HAVE_PUTENV 1
+
+/* Define to 1 if you have the <pwd.h> header file. */
+#define HAVE_PWD_H 1
+
+/* If we want to have query cache */
+#define HAVE_QUERY_CACHE 1
+
+/* POSIX readdir_r */
+#define HAVE_READDIR_R 1
+
+/* Define to 1 if you have the `readlink' function. */
+#define HAVE_READLINK 1
+
+/* Define to 1 if you have the `realpath' function. */
+#define HAVE_REALPATH 1
+
+/* Define to 1 if you have the `regcomp' function. */
+#define HAVE_REGCOMP 1
+
+/* Define to 1 if you have the `rename' function. */
+#define HAVE_RENAME 1
+
+/* Define to 1 if system calls automatically restart after interruption by a
+ signal. */
+#define HAVE_RESTARTABLE_SYSCALLS 1
+
+/* Define to 1 if you have the `re_co...
[truncated message content] |
|
From: <cre...@us...> - 2007-06-16 22:15:16
|
Revision: 1676
http://svn.sourceforge.net/frontierkernel/?rev=1676&view=rev
Author: creecode
Date: 2007-06-16 15:15:17 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
making new MySQL vendor directory
Added Paths:
-----------
Frontier/vendor/MySQL/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-16 18:50:17
|
Revision: 1675
http://svn.sourceforge.net/frontierkernel/?rev=1675&view=rev
Author: creecode
Date: 2007-06-16 11:50:19 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
in langmysql.c include my_globals.h, use includes "" instead of <>, minor project file changes to make Mac/Win projects as similar a possible
Modified Paths:
--------------
Frontier/branches/mysql/Common/source/langmysql.c
Frontier/branches/mysql/build_VC2K5/Frontier.vcproj
Modified: Frontier/branches/mysql/Common/source/langmysql.c
===================================================================
--- Frontier/branches/mysql/Common/source/langmysql.c 2007-06-15 19:38:22 UTC (rev 1674)
+++ Frontier/branches/mysql/Common/source/langmysql.c 2007-06-16 18:50:19 UTC (rev 1675)
@@ -43,8 +43,9 @@
#include "langsystem7.h"
#include "langexternal.h"
+#include "my_global.h"
+#include "mysql.h"
#include "langmysql.h"
-#include <mysql.h>
#ifdef MACVERSION
Modified: Frontier/branches/mysql/build_VC2K5/Frontier.vcproj
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <dav...@us...> - 2007-06-15 19:38:21
|
Revision: 1674
http://svn.sourceforge.net/frontierkernel/?rev=1674&view=rev
Author: davidgewirtz
Date: 2007-06-15 12:38:22 -0700 (Fri, 15 Jun 2007)
Log Message:
-----------
New MySQL client library specified.
Modified Paths:
--------------
Frontier/branches/mysql/build_VC2K5/Frontier.vcproj
Modified: Frontier/branches/mysql/build_VC2K5/Frontier.vcproj
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-14 20:28:53
|
Revision: 1673
http://svn.sourceforge.net/frontierkernel/?rev=1673&view=rev
Author: creecode
Date: 2007-06-14 13:28:50 -0700 (Thu, 14 Jun 2007)
Log Message:
-----------
minor formatting tweaks, no functional change, testing SourceForge subversion hook script at request of SF support technician
Modified Paths:
--------------
Frontier/trunk/Common/source/about.c
Modified: Frontier/trunk/Common/source/about.c
===================================================================
--- Frontier/trunk/Common/source/about.c 2007-06-12 16:46:55 UTC (rev 1672)
+++ Frontier/trunk/Common/source/about.c 2007-06-14 20:28:50 UTC (rev 1673)
@@ -85,7 +85,7 @@
typedef struct tyaboutrecord {
-
+
Rect messagearea;
Rect aboutarea;
@@ -95,8 +95,9 @@
boolean flbigwindow;
boolean flextrastats;
-
+
long refcon;
+
} tyaboutrecord, *ptraboutrecord, **hdlaboutrecord;
@@ -187,16 +188,17 @@
#ifdef WIN95VERSION
BIGSTRING ("\x14" "Handles Allocated: "),
#endif
-
+
BIGSTRING (""),
-
+
BIGSTRING ("\x10" "Visible Agent: "),
BIGSTRING ("\x0f" "Current Time: "),
bs_APP_NAME, /* 2006-02-06 aradke: see versions.h */
- BIGSTRING ("\x02" "^0"),
+ BIGSTRING ("\x02" "^0")
+
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-12 16:46:55
|
Revision: 1672
http://svn.sourceforge.net/frontierkernel/?rev=1672&view=rev
Author: creecode
Date: 2007-06-12 09:46:55 -0700 (Tue, 12 Jun 2007)
Log Message:
-----------
file bug fix and version bump
Modified Paths:
--------------
Frontier/trunk/Common/headers/versions.h
Frontier/trunk/Common/source/langvalue.c
Modified: Frontier/trunk/Common/headers/versions.h
===================================================================
--- Frontier/trunk/Common/headers/versions.h 2007-06-12 16:39:55 UTC (rev 1671)
+++ Frontier/trunk/Common/headers/versions.h 2007-06-12 16:46:55 UTC (rev 1672)
@@ -69,10 +69,10 @@
#define APP_SUBMINOR_VERSION_BCD 0x10 /* sub and minor version in BCD notation */
#define APP_STAGE_CODE 0x40 /* dev = 0x20, alpha = 0x40, beta = 0x60, final = 0x80 */
- #define APP_REVISION_LEVEL 13 /* for non-final releases only */
- #define APP_BUILD_NUMBER 13 /* increment by one for every release, final or not */
+ #define APP_REVISION_LEVEL 14 /* for non-final releases only */
+ #define APP_BUILD_NUMBER 14 /* increment by one for every release, final or not */
- #define APP_VERSION_STRING "10.1a13"
+ #define APP_VERSION_STRING "10.1a14"
#else
@@ -95,10 +95,10 @@
#define APP_SUBMINOR_VERSION_BCD 0x10 /* sub and minor version in BCD notation */
#define APP_STAGE_CODE 0x40 /* dev = 0x20, alpha = 0x40, beta = 0x60, final = 0x80 */
- #define APP_REVISION_LEVEL 13 /* for non-final releases only */
- #define APP_BUILD_NUMBER 13 /* increment by one for every release, final or not */
+ #define APP_REVISION_LEVEL 14 /* for non-final releases only */
+ #define APP_BUILD_NUMBER 14 /* increment by one for every release, final or not */
- #define APP_VERSION_STRING "10.1a13"
+ #define APP_VERSION_STRING "10.1a14"
#endif
#else
@@ -121,10 +121,10 @@
#define APP_SUBMINOR_VERSION_BCD 0x10 /* sub and minor version in BCD notation */
#define APP_STAGE_CODE 0x40 /* dev = 0x20, alpha = 0x40, beta = 0x60, final = 0x80 */
- #define APP_REVISION_LEVEL 13 /* for non-final releases only */
- #define APP_BUILD_NUMBER 13 /* increment by one for every release, final or not */
+ #define APP_REVISION_LEVEL 14 /* for non-final releases only */
+ #define APP_BUILD_NUMBER 14 /* increment by one for every release, final or not */
- #define APP_VERSION_STRING "10.1a13"
+ #define APP_VERSION_STRING "10.1a14"
#endif
Modified: Frontier/trunk/Common/source/langvalue.c
===================================================================
--- Frontier/trunk/Common/source/langvalue.c 2007-06-12 16:39:55 UTC (rev 1671)
+++ Frontier/trunk/Common/source/langvalue.c 2007-06-12 16:46:55 UTC (rev 1672)
@@ -3133,37 +3133,48 @@
boolean coercetostring (tyvaluerecord *val) {
-
+
//
+ // 2007-06-12 creedon: empty bs at start of function, fix for problem
+ // w/filespecvaluetype case returning gibberish for
+ // invalid fs
+ //
// 2006-06-24 creedon: for Mac, FSRef-ized
//
- // 4.1b4 dmb: if flcoerceexternaltostring is not enabled, create a reasonable display string for externals
+ // 4.1b4 dmb: if flcoerceexternaltostring is not enabled, create a
+ // reasonable display string for externals
//
// 2.1b3 dmb: don't ignore return value from objspectostring
//
- // 1992-08-10 dmb: added flcoerceexternaltostring flag to prevent external-to-string coercion except when explicitly requested by stringfunc in langverbs.c
+ // 1992-08-10 dmb: added flcoerceexternaltostring flag to prevent
+ // external-to-string coercion except when explicitly
+ // requested by stringfunc in langverbs.c
//
register tyvaluerecord *v = val;
+
+ Handle h;
bigstring bs;
- Handle h;
+ setemptystring ( bs );
+
if (!langheapallocated (v, &h))
h = nil;
+
+ switch ((*v).valuetype) {
- switch ((*v).valuetype) {
-
case stringvaluetype:
return (true);
+
+ case novaluetype: {
- case novaluetype:
- if (flinhibitnilcoercion)
- return (false);
+ if ( flinhibitnilcoercion )
+ return ( false );
+
+ break;
- setemptystring (bs);
+ }
- break;
-
/*
case passwordvaluetype:
(*v).valuetype = stringvaluetype;
@@ -3173,46 +3184,46 @@
case addressvaluetype:
return (addresstostring (v));
-
+
case booleanvaluetype:
if ((*v).data.flvalue)
copystring (bstrue, bs);
else
copystring (bsfalse, bs);
-
+
break;
case charvaluetype:
setstringwithchar ((*v).data.chvalue, bs);
break;
-
+
case intvaluetype:
shorttostring ((*v).data.intvalue, bs);
break;
-
+
case longvaluetype:
numbertostring ((*v).data.longvalue, bs);
break;
-
+
case ostypevaluetype:
case enumvaluetype:
ostypetostring ((*v).data.ostypevalue, bs);
break;
-
+
case directionvaluetype:
dirtostring ((*v).data.dirvalue, bs);
break;
-
+
case datevaluetype:
timedatestring ((*v).data.datevalue, bs);
break;
-
+
case fixedvaluetype: {
double x = (double) (*v).data.longvalue / 65536;
@@ -3224,72 +3235,72 @@
break;
}
-
+
case singlevaluetype:
floattostring ((*v).data.singlevalue, bs);
break;
-
+
case doublevaluetype:
floattostring (**(*v).data.doublevalue, bs);
break;
-
+
case pointvaluetype:
pointtostring ((*v).data.pointvalue, bs);
break;
-
+
case rectvaluetype:
recttostring (**(*v).data.rectvalue, bs);
break;
-
+
case rgbvaluetype:
rgbtostring (**(*v).data.rgbvalue, bs);
break;
-
+
case patternvaluetype:
patterntostring (**(*v).data.patternvalue, bs);
break;
-
+
case objspecvaluetype:
if (!objspectostring ((*v).data.objspecvalue, bs))
return (false);
+
+ break;
- break;
-
case aliasvaluetype:
aliastostring ((*v).data.aliasvalue, bs);
break;
+
+ case filespecvaluetype: {
- case filespecvaluetype: {
-
- tyfilespec fs = **(*v).data.filespecvalue;
-
+ tyfilespec fs = **( *v ).data.filespecvalue;
+
filespectopath ( &fs, bs );
break;
}
-
+
case binaryvaluetype:
if (!copyvaluedata (v))
return (false);
-
+
stripbinarytypeid ((*v).data.binaryvalue);
(*v).valuetype = stringvaluetype;
return (true);
-
+
case listvaluetype:
case recordvaluetype:
return (coercelistvalue (v, stringvaluetype));
-
+
case codevaluetype:
bigvaltostring (v, bs);
@@ -3297,7 +3308,7 @@
case externalvaluetype:
if (!flcoerceexternaltostring) {
-
+
/* 4.1b4 dmb*/
/*
langbadexternaloperror (badexternaloperationerror, *v);
@@ -3307,27 +3318,27 @@
break;
}
-
+
if (!newemptyhandle (&h))
return (false);
+
+ if (!langexternalpacktotext ((hdlexternalhandle) (*v).data.externalvalue, h)) {
- if (!langexternalpacktotext ((hdlexternalhandle) (*v).data.externalvalue, h)) {
-
disposehandle (h);
return (false);
}
-
+
disposevaluerecord (*v, true);
return (setheapvalue (h, stringvaluetype, v));
-
+
default:
langerror (stringcoerceerror);
return (false);
} /*switch*/
-
+
disposevaluerecord (*v, true);
return (setstringvalue (bs, v));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-12 16:40:10
|
Revision: 1671
http://svn.sourceforge.net/frontierkernel/?rev=1671&view=rev
Author: creecode
Date: 2007-06-12 09:39:55 -0700 (Tue, 12 Jun 2007)
Log Message:
-----------
in function stringtoalias, fileexists wasn't working, need to extend the filespec, if successful then file exists
Modified Paths:
--------------
Frontier/trunk/Common/source/langsystypes.c
Modified: Frontier/trunk/Common/source/langsystypes.c
===================================================================
--- Frontier/trunk/Common/source/langsystypes.c 2007-06-12 16:38:01 UTC (rev 1670)
+++ Frontier/trunk/Common/source/langsystypes.c 2007-06-12 16:39:55 UTC (rev 1671)
@@ -512,53 +512,60 @@
#ifdef MACVERSION
-static boolean stringtoalias (tyvaluerecord *val) {
+ static boolean stringtoalias ( tyvaluerecord *val ) {
- //
- // 2006-06-24 creedon: FSRef-ized
- //
- // 2.1b2 dmb: try converting to a filespec first to ensure that partial path or
- // drive number if processed properly. also, in the filespec case, the alias isn't
- // minimal
- //
- // 1992-07-23 dmb: OK, try to getfullfilepath, but with errors disabled
- //
- // 1992-07-02 dmb: don't call getfullfilepath; makes it impossible to create aliases of
- // not-yet-existing files, or offline volumes
- //
- // 1991-10-07 dmb: make sure we're actually passing a full path to the NewAlias routine
- //
-
- register Handle htext;
- bigstring bspath;
- tyfilespec fs;
- AliasHandle halias;
- boolean flfolder;
- OSErr errcode;
-
- if (!langcanusealiases ())
- return (false);
-
- htext = (*val).data.stringvalue;
-
- texthandletostring (htext, bspath);
-
- if (pathtofilespec (bspath, &fs) && fileexists (&fs, &flfolder))
- errcode = FSNewAlias (nil, &fs.fsref, &halias);
- else
- errcode = NewAliasMinimalFromFullPath (stringlength (bspath), bspath + 1, nil, nil, &halias);
-
- if (oserror (errcode))
- return (false);
-
- if (!setheapvalue ((Handle) halias, aliasvaluetype, val))
- return (false);
-
- releaseheaptmp ((Handle) htext);
-
- return (true);
- } /*stringtoalias*/
-
+ //
+ // 2007-06-11 creedon: fileexists wasn't working, need to extend the
+ // filespec, if successful then file exists
+ //
+ // 2006-06-24 creedon: FSRef-ized
+ //
+ // 2.1b2 dmb: try converting to a filespec first to ensure that
+ // partial path or drive number if processed properly.
+ // also, in the filespec case, the alias isn't minimal
+ //
+ // 1992-07-23 dmb: OK, try to getfullfilepath, but with errors
+ // disabled
+ //
+ // 1992-07-02 dmb: don't call getfullfilepath; makes it impossible to
+ // create aliases of not-yet-existing files, or
+ // offline volumes
+ //
+ // 1991-10-07 dmb: make sure we're actually passing a full path to the
+ // NewAlias routine
+ //
+
+ register Handle htext;
+
+ AliasHandle halias;
+ OSErr errcode;
+ bigstring bspath;
+ tyfilespec fs;
+
+ if ( ! langcanusealiases ( ) )
+ return ( false );
+
+ htext = ( *val ).data.stringvalue;
+
+ texthandletostring ( htext, bspath );
+
+ if ( pathtofilespec ( bspath, &fs ) && extendfilespec ( &fs, &fs ) )
+ errcode = FSNewAlias ( NULL, &fs.fsref, &halias );
+ else
+ errcode = NewAliasMinimalFromFullPath ( stringlength ( bspath), bspath + 1, NULL, NULL, &halias );
+
+ if ( oserror ( errcode ) )
+ return ( false );
+
+ if ( ! setheapvalue ( ( Handle ) halias, aliasvaluetype, val ) )
+ return (false);
+
+ releaseheaptmp ( ( Handle ) htext );
+
+ return ( true );
+
+ } // stringtoalias
+
#endif
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-12 16:38:01
|
Revision: 1670
http://svn.sourceforge.net/frontierkernel/?rev=1670&view=rev
Author: creecode
Date: 2007-06-12 09:38:01 -0700 (Tue, 12 Jun 2007)
Log Message:
-----------
in function filegetinfofrompb: fix for Mac OS X bundles/packages that are, applications not setting creator/type; fix for flbundle not being set to true for Mac OS X bundles/packages; fix for file names that don't have extensions
in function findapplication, for Mac, use getfilespecparent
Modified Paths:
--------------
Frontier/trunk/Common/source/fileops.c
Modified: Frontier/trunk/Common/source/fileops.c
===================================================================
--- Frontier/trunk/Common/source/fileops.c 2007-06-12 08:28:15 UTC (rev 1669)
+++ Frontier/trunk/Common/source/fileops.c 2007-06-12 16:38:01 UTC (rev 1670)
@@ -438,7 +438,7 @@
//
// 1993-09-21 dmb: take vnum as parameter, not volname. otherwise, we can't distinguish between two vols w/the
- // same name.
+ // same name.
//
// 1993-09-07 DW: determine if it's a network volume
//
@@ -488,13 +488,23 @@
void filegetinfofrompb ( FSRefParam *pb, tyfileinfo *info ) {
//
+ // 2007-06-11 creedon: fix for Mac OS X bundles/packages that are
+ // applications not setting creator/type
+ //
+ // fix for flbundle not being set to true for Mac
+ // OS X bundles/packages
+ //
+ // fix for file names that don't have extensions
+ //
// 2006-06-24 creedon: FSRef-ized
//
// 5.1.4 dmb: set finderbits for folders too.
//
- // 1993-09-24 dmb: handle volumes here, combining vol info with root directory folder info. I'm not sure if a
- // volume lock is always reflected in the root directory, so don't set fllocked false if the
- // attribute isn't set in the pb. (it starts out cleared anyway.)
+ // 1993-09-24 dmb: handle volumes here, combining vol info with root
+ // directory folder info. I'm not sure if a volume
+ // lock is always reflected in the root directory, so
+ // don't set fllocked false if the attribute isn't set
+ // in the pb. (it starts out cleared anyway.)
//
unsigned short finderbits;
@@ -534,56 +544,32 @@
if ( ( *info ).flfolder ) {
- boolean flisapplication, flisbundle;
+ ( *info ).flbusy = pb -> catInfo -> valence > 0; // folders are considered "busy" if there are any files within
+ // the folder
- LSIsApplication ( ( *pb ).ref, &flisapplication, &flisbundle );
-
- if ( flisapplication || flisbundle ) { // Mac OS X bundles/packages are not considered folders
-
- ( *info ).flfolder = false;
-
- ( *info ).flbundle = true;
-
- } // if
-
- ( *info ).flbusy = pb -> catInfo -> valence > 0; // Folders are considered "busy" if there are any files
- // within the folder
- if ( ( *info ).flfolder )
-
- ( *info ).filecreator = ( *info ).filetype = ' ';
-
- else {
-
- LSItemInfoRecord iteminfo;
- OSStatus status;
-
- status = LSCopyItemInfoForRef ( ( *pb ).ref, kLSRequestTypeCreator, &iteminfo );
-
- ( *info ).filecreator = iteminfo.creator;
-
- ( *info ).filetype = iteminfo.filetype;
-
- } // if
-
( *info ).iconposition = ( ( FolderInfo * ) pb -> catInfo -> finderInfo ) -> location;
if ( ! ( *info ).flvolume ) { // these aren't the same for a volume & its root dir
-
+
( *info ).ctfiles = pb -> catInfo -> valence;
} // if
- ( *info ).folderview = ( tyfolderview ) 0; // I can't find a way to get this info from FSRefParamPtr, I thought about trying to fake a DInfo structure and getting it from there but it may not even have the right value, I did find a reference to DRMacWindowView // dinfo.frView >> 8;
+ ( *info ).folderview = ( tyfolderview ) 0; // I can't find a way to get this info from FSRefParamPtr, I thought
+ // about trying to fake a DInfo structure and getting it from there
+ // but it may not even have the right value, I did find a reference
+ // to DRMacWindowView // dinfo.frView >> 8;
finderbits = ( ( FolderInfo * ) pb -> catInfo -> finderInfo ) -> finderFlags;
}
+
else { // fill in fields for a file, somewhat different format than a folder
( *info ).ixlabel = ( ( ( FileInfo * ) pb -> catInfo -> finderInfo ) -> finderFlags & kColor ) >> 1;
-
+
( *info ).flbusy = ( pb -> catInfo -> nodeFlags & kFSNodeForkOpenMask ) != 0;
-
+
( *info ).filecreator = ( ( FileInfo * ) pb -> catInfo -> finderInfo ) -> fileCreator;
( *info ).filetype = ( ( FileInfo * ) pb -> catInfo -> finderInfo ) -> fileType;
@@ -597,25 +583,79 @@
finderbits = ( ( FileInfo * ) pb -> catInfo -> finderInfo ) -> finderFlags;
} // if
-
- /* copy from the finder bits into the record */ {
+
+ /* copy many of the finder bits into the record */ {
+
+ ( *info ).flalias = ( finderbits & kIsAlias ) != 0;
+
+ ( *info ).flbundle = ( finderbits & kHasBundle ) != 0;
+
+ ( *info ).flinvisible = ( finderbits & kIsInvisible ) != 0;
+
+ ( *info ).flstationery = ( finderbits & kIsStationery ) != 0;
+
+ ( *info ).flshared = ( finderbits & kIsShared ) != 0;
+
+ ( *info ).flnamelocked = ( finderbits & kNameLocked ) != 0;
+
+ ( *info ).flcustomicon = ( finderbits & kHasCustomIcon ) != 0;
+
+ } // finder bits
+
+ if ( ( *info ).flfolder ) {
- ( *info ).flalias = (finderbits & kIsAlias) != 0;
+ boolean flIsApplication, flIsBundle;
+
+ LSIsApplication ( ( *pb ).ref, &flIsApplication, &flIsBundle );
+
+ if ( flIsApplication || flIsBundle ) { // Mac OS X bundles/packages are not considered folders
+
+ ( *info ).flfolder = false;
- ( *info ).flbundle = (finderbits & kHasBundle) != 0;
+ ( *info ).flbundle = true;
- ( *info ).flinvisible = (finderbits & kIsInvisible) != 0;
+ } // if
- ( *info ).flstationery = (finderbits & kIsStationery) != 0;
+ if ( flIsApplication ) { // for Mac OS X bundles/packages that are applications we need to grab creator/type
+
+ OSStatus status;
+ LSItemInfoRecord itemInfo;
- ( *info ).flshared = (finderbits & kIsShared) != 0;
+ status = LSCopyItemInfoForRef ( ( *pb ).ref, kLSRequestTypeCreator, &itemInfo );
- ( *info ).flnamelocked = (finderbits & kNameLocked) != 0;
+ ( *info ).filecreator = itemInfo.creator;
- ( *info ).flcustomicon = (finderbits & kHasCustomIcon) != 0;
+ ( *info ).filetype = itemInfo.filetype;
+
+ } // if
- } // finder bits
+ }
+
+ else {
+
+ if ( ! ( *info ).filetype ) { // try to get from file extension
+
+ bigstring bsext;
+ LSItemInfoRecord iteminfo;
+ OSStatus status;
+ clearbytes ( &iteminfo, sizeof ( iteminfo ) );
+
+ status = LSCopyItemInfoForRef ( ( *pb ).ref, kLSRequestExtension, &iteminfo );
+
+ if ( iteminfo.extension != NULL )
+ CFStringRefToStr255 ( iteminfo.extension, bsext );
+
+ if ( isemptystring ( bsext ) || ( stringlength ( bsext ) > 4 ) ) // no extension
+
+ stringtoostype ( "\x04" "????", &( *info ).filetype );
+ else
+ stringtoostype ( bsext, &( *info ).filetype );
+
+ } // if
+
+ } // if
+
} // filegetinfofrompb
@@ -3546,87 +3586,100 @@
} /*initfile*/
-boolean findapplication (OSType creator, ptrfilespec fsapp) {
-
- /*
- 2006-06-25 creedon: for Mac, FSRef-ized
-
- 2006-04-10 creedon: deleted old code, see revision 1246 for old code
-
- 2006-04-09 creedon: use LSFindApplicationForInfo if available
-
- 5.0.1 dmb: implemented for Win using the registry
+boolean findapplication ( OSType creator, ptrfilespec fsapp ) {
- 2.1b11 dmb: loop through all files in each db if necessary to find one that's actually an application
-
- 9/7/92 dmb: make two passes, skipping volumes mounted with a foreign
- file system the first time through. note: if this turns out not to be
- the best criteria, we could check for shared volumes instead by testing
- vMLocalHand in hasdesktopmanager.
+ //
+ // 2007-06-12 creedon: for Mac, use getfilespecparent
+ //
+ // 2006-06-25 creedon: for Mac, FSRef-ized
+ //
+ // 2006-04-10 creedon: deleted old code, see revision 1246 for old code
+ //
+ // 2006-04-09 creedon: use LSFindApplicationForInfo if available
+ //
+ // 5.0.1 dmb: implemented for Win using the registry
+ //
+ // 2.1b11 dmb: loop through all files in each db if necessary to find one
+ // that's actually an application
+ //
+ // 1992-09-07 dmb: make two passes, skipping volumes mounted with a foreign
+ // file system the first time through. note: if this turns
+ // out not to be the best criteria, we could check for
+ // shared volumes instead by testing vMLocalHand in
+ // hasdesktopmanager.
+ //
+ // also: since we don't maintain the desktop DB when we
+ // delete files, we need to verify that the file we locate
+ // still exists. added fileexists call before returning
+ // true.
+ //
+ // 1991-12-05 dmb: created
+ //
- also: since we don't maintain the desktop DB when we delete files, we
- need to verify that the file we locate still exists. added fileexists
- call before returning true.
+ #ifdef MACVERSION
- 12/5/91 dmb
- */
-
- #ifdef MACVERSION
-
- if ((UInt32) LSFindApplicationForInfo == (UInt32) kUnresolvedCFragSymbolAddress)
- return (false);
+ OSStatus status;
- if (LSFindApplicationForInfo (creator, NULL, NULL, &( *fsapp ).fsref, NULL) != noErr)
- return (false);
-
- return (true);
+ if ( ( UInt32 ) LSFindApplicationForInfo == ( UInt32 ) kUnresolvedCFragSymbolAddress )
+ return ( false );
+
+ status = LSFindApplicationForInfo ( creator, NULL, NULL, &( *fsapp ).fsref, NULL);
+
+ if ( status != noErr )
+ return ( false );
+
+ getfilespecparent ( fsapp );
+
+ return ( true );
+
+ #endif // MACVERSION
- #endif /* MACVERSION */
-
#ifdef WIN95VERSION
-
+
byte bsextension [8];
bigstring bsregpath, bsoptions;
-
+
ostypetostring (creator, bsextension);
-
+
poptrailingwhitespace (bsextension);
-
+
insertchar ('.', bsextension);
pushchar (chnul, bsextension);
// copyctopstring ("software\\Microsoft\\Windows\\CurrentVersion", bsregpath);
-
+
if (!getRegKeyString ((Handle) HKEY_CLASSES_ROOT, bsextension, NULL, bsregpath))
return (false);
+
+ pushstring ("\x13\\shell\\open\\command", bsregpath);
- pushstring ("\x13\\shell\\open\\command", bsregpath);
-
if (!getRegKeyString ((Handle) HKEY_CLASSES_ROOT, bsregpath, NULL, bsregpath))
return (false);
+
+ if (getstringcharacter (bsregpath, 0) == '"') {
- if (getstringcharacter (bsregpath, 0) == '"') {
+ popleadingchars (bsregpath, '"');
- popleadingchars (bsregpath, '"');
-
firstword (bsregpath, '"', bsregpath);
+
}
+
else {
+
+ lastword (bsregpath, ' ', bsoptions);
- lastword (bsregpath, ' ', bsoptions);
-
if (stringlength (bsoptions) < stringlength (bsregpath))
deletestring (bsregpath, stringlength (bsregpath) - stringlength (bsoptions) + 1, stringlength (bsoptions));
}
+
+ return (pathtofilespec (bsregpath, fsapp));
- return (pathtofilespec (bsregpath, fsapp));
+ #endif // WIN95VERSION
+
+ } // findapplication
- #endif /* WIN95VERSION */
- } /* findapplication */
-
-
boolean extendfilespec ( const ptrfilespec fsin, ptrfilespec fsout ) {
//
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <cre...@us...> - 2007-06-12 08:28:16
|
Revision: 1669
http://svn.sourceforge.net/frontierkernel/?rev=1669&view=rev
Author: creecode
Date: 2007-06-12 01:28:15 -0700 (Tue, 12 Jun 2007)
Log Message:
-----------
minor formatting tweaks
Modified Paths:
--------------
Frontier/trunk/Common/source/shell.c
Modified: Frontier/trunk/Common/source/shell.c
===================================================================
--- Frontier/trunk/Common/source/shell.c 2007-06-12 08:22:18 UTC (rev 1668)
+++ Frontier/trunk/Common/source/shell.c 2007-06-12 08:28:15 UTC (rev 1669)
@@ -1314,7 +1314,7 @@
htmlinitverbs ();
- sqliteinitverbs (); /* 2006-03-15 gewirtz: langsqlite.c */
+ sqliteinitverbs (); /* 2006-03-15 gewirtz: langsqlite.c */
#ifdef flregexpverbs
regexpinitverbs (); /* 2003-04-23 AR: langregexp.c */
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|