Changeset: bae35e304e51 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=bae35e304e51
Modified Files:
NT/installer32/MonetDB5-SQL-Installer.vdproj
NT/installer64/MonetDB5-SQL-Installer.vdproj
NT/monetdb_config.h.in
configure.ag
monetdb5/extras/compiler/mal_compiler.c
monetdb5/modules/atoms/xml.c
monetdb5/optimizer/opt_mergetable.mx
Branch: default
Log Message:
Merge with Aug2011 branch.
diffs (truncated from 2118 to 300 lines):
diff --git a/NT/installer32/MonetDB5-SQL-Installer.vdproj
b/NT/installer32/MonetDB5-SQL-Installer.vdproj
--- a/NT/installer32/MonetDB5-SQL-Installer.vdproj
+++ b/NT/installer32/MonetDB5-SQL-Installer.vdproj
@@ -195,12 +195,6 @@
}
"Entry"
{
- "MsmKey" = "8:_225FA2D3C59A41249F1164342918D68A"
- "OwnerKey" = "8:_UNDEFINED"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
"MsmKey" = "8:_233C1F91A3B646DFA94BA3711DB3F93B"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
@@ -429,12 +423,6 @@
}
"Entry"
{
- "MsmKey" = "8:_5C3288DC135C4F6AAF8612EF92F9154C"
- "OwnerKey" = "8:_UNDEFINED"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
"MsmKey" = "8:_5D2C70D0702F476CB2DE3CEC7EF47825"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
@@ -1083,12 +1071,6 @@
}
"Entry"
{
- "MsmKey" = "8:_F7D25049940B46B682803C1B5BCE0BEB"
- "OwnerKey" = "8:_UNDEFINED"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
"MsmKey" = "8:_F827A21B394243CA9A2DA27D42DA0C93"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
@@ -1787,26 +1769,6 @@
"IsDependency" = "11:FALSE"
"IsolateTo" = "8:"
}
-
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_225FA2D3C59A41249F1164342918D68A"
- {
- "SourcePath" = "8:lib\\monetdb5\\sql_bpm.mal"
- "TargetName" = "8:sql_bpm.mal"
- "Tag" = "8:"
- "Folder" = "8:_B593DAA0787744D6A44D17884E0C3951"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:FALSE"
- "IsolateTo" = "8:"
- }
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_233C1F91A3B646DFA94BA3711DB3F93B"
{
"SourcePath" = "8:lib\\monetdb5\\bat5.mal"
@@ -2567,26 +2529,6 @@
"IsDependency" = "11:FALSE"
"IsolateTo" = "8:"
}
-
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5C3288DC135C4F6AAF8612EF92F9154C"
- {
- "SourcePath" = "8:lib\\monetdb5\\bpm.mal"
- "TargetName" = "8:bpm.mal"
- "Tag" = "8:"
- "Folder" = "8:_B593DAA0787744D6A44D17884E0C3951"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:FALSE"
- "IsolateTo" = "8:"
- }
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5D2C70D0702F476CB2DE3CEC7EF47825"
{
"SourcePath" = "8:lib\\monetdb5\\url.mal"
@@ -4727,26 +4669,6 @@
"IsDependency" = "11:FALSE"
"IsolateTo" = "8:"
}
-
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F7D25049940B46B682803C1B5BCE0BEB"
- {
- "SourcePath" = "8:lib\\monetdb5\\opt_partitions.mal"
- "TargetName" = "8:opt_partitions.mal"
- "Tag" = "8:"
- "Folder" = "8:_B593DAA0787744D6A44D17884E0C3951"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:FALSE"
- "IsolateTo" = "8:"
- }
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_F827A21B394243CA9A2DA27D42DA0C93"
{
"SourcePath" = "8:lib\\libmapi.lib"
diff --git a/NT/installer64/MonetDB5-SQL-Installer.vdproj
b/NT/installer64/MonetDB5-SQL-Installer.vdproj
--- a/NT/installer64/MonetDB5-SQL-Installer.vdproj
+++ b/NT/installer64/MonetDB5-SQL-Installer.vdproj
@@ -321,12 +321,6 @@
}
"Entry"
{
- "MsmKey" = "8:_5CED0484F9FD465FB37D4F192D78355E"
- "OwnerKey" = "8:_UNDEFINED"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
"MsmKey" = "8:_5D42439A59BD416CAF269F0D28514D47"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
@@ -843,12 +837,6 @@
}
"Entry"
{
- "MsmKey" = "8:_CCA47E16C2E0468A9AA3CE6C98299776"
- "OwnerKey" = "8:_UNDEFINED"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
"MsmKey" = "8:_CE77EF81FA15478DA8AC317BA2A6A2D1"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
@@ -861,12 +849,6 @@
}
"Entry"
{
- "MsmKey" = "8:_D0339F708CB548429921D3032E99FE01"
- "OwnerKey" = "8:_UNDEFINED"
- "MsmSig" = "8:_UNDEFINED"
- }
- "Entry"
- {
"MsmKey" = "8:_D03E11550C144542ABC1660942F63E65"
"OwnerKey" = "8:_UNDEFINED"
"MsmSig" = "8:_UNDEFINED"
@@ -2207,26 +2189,6 @@
"IsDependency" = "11:FALSE"
"IsolateTo" = "8:"
}
-
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5CED0484F9FD465FB37D4F192D78355E"
- {
- "SourcePath" = "8:lib\\monetdb5\\sql_bpm.mal"
- "TargetName" = "8:sql_bpm.mal"
- "Tag" = "8:"
- "Folder" = "8:_B593DAA0787744D6A44D17884E0C3951"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:FALSE"
- "IsolateTo" = "8:"
- }
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_5D42439A59BD416CAF269F0D28514D47"
{
"SourcePath" = "8:bin\\mserver5.exe"
@@ -3927,26 +3889,6 @@
"IsDependency" = "11:FALSE"
"IsolateTo" = "8:"
}
-
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CCA47E16C2E0468A9AA3CE6C98299776"
- {
- "SourcePath" = "8:lib\\monetdb5\\opt_partitions.mal"
- "TargetName" = "8:opt_partitions.mal"
- "Tag" = "8:"
- "Folder" = "8:_B593DAA0787744D6A44D17884E0C3951"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:FALSE"
- "IsolateTo" = "8:"
- }
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_CE77EF81FA15478DA8AC317BA2A6A2D1"
{
"SourcePath" = "8:include\\monetdb\\stream.h"
@@ -3987,26 +3929,6 @@
"IsDependency" = "11:FALSE"
"IsolateTo" = "8:"
}
-
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D0339F708CB548429921D3032E99FE01"
- {
- "SourcePath" = "8:lib\\monetdb5\\bpm.mal"
- "TargetName" = "8:bpm.mal"
- "Tag" = "8:"
- "Folder" = "8:_B593DAA0787744D6A44D17884E0C3951"
- "Condition" = "8:"
- "Transitive" = "11:FALSE"
- "Vital" = "11:TRUE"
- "ReadOnly" = "11:FALSE"
- "Hidden" = "11:FALSE"
- "System" = "11:FALSE"
- "Permanent" = "11:FALSE"
- "SharedLegacy" = "11:FALSE"
- "PackageAs" = "3:1"
- "Register" = "3:1"
- "Exclude" = "11:FALSE"
- "IsDependency" = "11:FALSE"
- "IsolateTo" = "8:"
- }
"{1FB2D0AE-D3B9-43D4-B9DD-F88EC61E35DE}:_D03E11550C144542ABC1660942F63E65"
{
"SourcePath" = "8:lib\\monetdb5\\opt_joinpath.mal"
diff --git a/NT/monetdb_config.h.in b/NT/monetdb_config.h.in
--- a/NT/monetdb_config.h.in
+++ b/NT/monetdb_config.h.in
@@ -598,6 +598,11 @@
/* Define to 1 if you have the <time.h> header file. */
/* #undef HAVE_TIME_H */
+/* Define to 1 if you have the timezone and daylight variables. */
+#define HAVE_TIMEZONE 1
+#define timezone _timezone
+#define daylight _daylight
+
/* Define to 1 if you have the `trunc' function. */
/* #undef HAVE_TRUNC */
diff --git a/clients/ChangeLog.Aug2011 b/clients/ChangeLog.Aug2011
--- a/clients/ChangeLog.Aug2011
+++ b/clients/ChangeLog.Aug2011
@@ -1,6 +1,10 @@
# ChangeLog file for clients
# This file is updated with Maddlog
+* Fri Aug 5 2011 Sjoerd Mullender <[email protected]>
+- mclient now automatically sets the SQL `TIME ZONE' variable to its
+ (the client's) time zone.
+
* Sun Jul 24 2011 Fabian Groffen <[email protected]>
- Removed perl/Cimpl, MonetDB-CLI-MapiLib and MonetDB-CLI-MapiXS
- Switched implementation of MonetDB::CLI::MapiPP to Mapi.pm, and made
diff --git a/clients/mapiclient/Tests/mclient--help.stable.err
b/clients/mapiclient/Tests/mclient--help.stable.err
--- a/clients/mapiclient/Tests/mclient--help.stable.err
+++ b/clients/mapiclient/Tests/mclient--help.stable.err
@@ -26,6 +26,7 @@ Options are:
-L logfile | --log=logfile save client/server interaction
-s stmt | --statement=stmt run single statement
-X | --Xdebug trace mapi network interaction
+ -z | --timezone do not tell server our timezone
-| cmd | --pager=cmd for pagination
-? | --help show this usage message
diff --git a/clients/mapiclient/mclient.1 b/clients/mapiclient/mclient.1
--- a/clients/mapiclient/mclient.1
+++ b/clients/mapiclient/mclient.1
@@ -173,6 +173,9 @@ files specified on the command line are
interactive session is started (if the \fB\-\-interactive\fP option is
given).
.TP
+\fB\--timezone\fP (\fB\-z\fP)
+Do not tell the client's timezone to the server.
+.TP
\fB\-\-Xdebug\fP (\fB\-X\fP)
Trace network interaction between
.I mclient
diff --git a/clients/mapiclient/mclient.c b/clients/mapiclient/mclient.c
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list