You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-cvs@tcl.apache.org by mx...@apache.org on 2014/02/06 15:20:04 UTC
svn commit: r1565265 - in /tcl/rivet/trunk: ChangeLog configure.ac
rivet/packages/dio/dio_Mysql.tcl src/apache-2/apache_config.c
Author: mxmanghi
Date: Thu Feb 6 14:20:03 2014
New Revision: 1565265
URL: http://svn.apache.org/r1565265
Log:
* ChangeLog: timestamps of latest entries of this file carried the wrong year (2013)
* rivet/packages/dio/dio_Mysql.tcl: fixed comment lines placed within the switch construct
that have become incompatibile with Tcl8.6.
* configure.ac: add AC_C_INLINE macro
Modified:
tcl/rivet/trunk/ChangeLog
tcl/rivet/trunk/configure.ac
tcl/rivet/trunk/rivet/packages/dio/dio_Mysql.tcl
tcl/rivet/trunk/src/apache-2/apache_config.c (contents, props changed)
Modified: tcl/rivet/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/ChangeLog?rev=1565265&r1=1565264&r2=1565265&view=diff
==============================================================================
--- tcl/rivet/trunk/ChangeLog (original)
+++ tcl/rivet/trunk/ChangeLog Thu Feb 6 14:20:03 2014
@@ -1,11 +1,17 @@
-2013-02-04 Massimo Manghi <mx...@apache.org>
+2014-02-06 Massimo Manghi <mx...@apache.org>
+ * ChangeLog: timestamps of latest entries of this file carried the wrong year (2013)
+ * rivet/packages/dio/dio_Mysql.tcl: fixed comment lines placed within the switch construct
+ that have become incompatibile with Tcl8.6.
+ * configure.ac: add AC_C_INLINE macro
+
+2014-02-04 Massimo Manghi <mx...@apache.org>
* src/rivetcmd/rivetCore.c: testing globals->r against NULL and in case return a null string
* src/apache-2/mod_rivet.c: using only globals->r to flag a request processing under way
-2013-02-03 Massimo Manghi <mx...@apache.org>
+2014-02-03 Massimo Manghi <mx...@apache.org>
* src/apache-2/mod_rivet.c: globals->req had to be set to NULL in Rivet_PerInterpInit!
-2013-02-02 Massimo Manghi <mx...@apache.org>
+2014-02-02 Massimo Manghi <mx...@apache.org>
* src/apache-2/mod_rivet.[c|h]: further optimizing code avoiding to
allocate a TclWebRequest structure on every request. This structure
is allocate when the interpreter is initialized and a pointer
Modified: tcl/rivet/trunk/configure.ac
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/configure.ac?rev=1565265&r1=1565264&r2=1565265&view=diff
==============================================================================
--- tcl/rivet/trunk/configure.ac (original)
+++ tcl/rivet/trunk/configure.ac Thu Feb 6 14:20:03 2014
@@ -664,6 +664,7 @@ if test $import_rivet_commands = "yes";
else
RIVET_COMMANDS_EXPORT
fi
+AC_C_INLINE
AC_SUBST(apache_version_dir)
AC_SUBST(MOD_RIVET_INCLUDES)
Modified: tcl/rivet/trunk/rivet/packages/dio/dio_Mysql.tcl
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/rivet/packages/dio/dio_Mysql.tcl?rev=1565265&r1=1565264&r2=1565265&view=diff
==============================================================================
--- tcl/rivet/trunk/rivet/packages/dio/dio_Mysql.tcl (original)
+++ tcl/rivet/trunk/rivet/packages/dio/dio_Mysql.tcl Thu Feb 6 14:20:03 2014
@@ -119,6 +119,7 @@ namespace eval DIO {
if {[info exists specialFields(${table_name}@${field_name})]} {
switch $specialFields(${table_name}@${field_name}) {
+
DATE {
set secs [clock scan $val]
set my_val [clock format $secs -format {%Y-%m-%d}]
@@ -130,14 +131,15 @@ namespace eval DIO {
return "DATE_FORMAT('$my_val','%Y-%m-%d %T')"
}
NOW {
- switch $convert_to {
- # we try to be coherent with the original purpose of this method whose
- # goal is endow the class with a uniform way to handle timestamps.
- # E.g.: Package session expects this case to return a timestamp in seconds
- # so that differences with timestamps returned by [clock seconds]
- # can be done and session expirations are computed consistently.
- # (Bug #53703)
+ # we try to be coherent with the original purpose of this method whose
+ # goal is endow the class with a uniform way to handle timestamps.
+ # E.g.: Package session expects this case to return a timestamp in seconds
+ # so that differences with timestamps returned by [clock seconds]
+ # can be done and session expirations are computed consistently.
+ # (Bug #53703)
+
+ switch $convert_to {
SECS {
if {[::string compare $val "now"] == 0} {
Modified: tcl/rivet/trunk/src/apache-2/apache_config.c
URL: http://svn.apache.org/viewvc/tcl/rivet/trunk/src/apache-2/apache_config.c?rev=1565265&r1=1565264&r2=1565265&view=diff
==============================================================================
--- tcl/rivet/trunk/src/apache-2/apache_config.c (original)
+++ tcl/rivet/trunk/src/apache-2/apache_config.c Thu Feb 6 14:20:03 2014
@@ -15,7 +15,7 @@
limitations under the License.
*/
-/* $Id: apache_config.c 1547463 2013-12-03 16:35:08Z mxmanghi $ */
+/* $Id$ */
/* Rivet config */
#ifdef HAVE_CONFIG_H
Propchange: tcl/rivet/trunk/src/apache-2/apache_config.c
------------------------------------------------------------------------------
svn:keywords = Id
---------------------------------------------------------------------
To unsubscribe, e-mail: site-cvs-unsubscribe@tcl.apache.org
For additional commands, e-mail: site-cvs-help@tcl.apache.org