Revision: 1031
          http://mrbs.svn.sourceforge.net/mrbs/?rev=1031&view=rev
Author:   jberanek
Date:     2009-02-24 22:40:13 +0000 (Tue, 24 Feb 2009)

Log Message:
-----------
* Fixed name of sql_mysql_syntax_addcolumn_after() and
 sql_mysqli_syntax_addcolumn_after().

* Corrected comment above sql_syntax_addcolumn_after() function.

Modified Paths:
--------------
    mrbs/trunk/web/dbsys.inc
    mrbs/trunk/web/mysql.inc
    mrbs/trunk/web/mysqli.inc

Modified: mrbs/trunk/web/dbsys.inc
===================================================================
--- mrbs/trunk/web/dbsys.inc    2009-02-24 22:27:19 UTC (rev 1030)
+++ mrbs/trunk/web/dbsys.inc    2009-02-24 22:40:13 UTC (rev 1031)
@@ -392,7 +392,8 @@
   return $f($fieldname, $s, $db_conn);
 }
 
-// Returns the syntax for a caseless "contains" function
+// Returns the syntax for adding a column after another column, in an
+// ALTER TABLE command
 function sql_syntax_addcolumn_after($fieldname)
 {
   if (func_num_args() > 1)

Modified: mrbs/trunk/web/mysql.inc
===================================================================
--- mrbs/trunk/web/mysql.inc    2009-02-24 22:27:19 UTC (rev 1030)
+++ mrbs/trunk/web/mysql.inc    2009-02-24 22:40:13 UTC (rev 1031)
@@ -268,7 +268,7 @@
 
 // Generate non-standard SQL to add a table column after another specified
 // column
-function sql_mysql_addcolumn_after($fieldname, $db_conn = null)
+function sql_mysql_syntax_addcolumn_after($fieldname, $db_conn = null)
 {
   sql_mysql_ensure_handle($db_conn);
 

Modified: mrbs/trunk/web/mysqli.inc
===================================================================
--- mrbs/trunk/web/mysqli.inc   2009-02-24 22:27:19 UTC (rev 1030)
+++ mrbs/trunk/web/mysqli.inc   2009-02-24 22:40:13 UTC (rev 1031)
@@ -276,7 +276,7 @@
 
 // Generate non-standard SQL to add a table column after another specified
 // column
-function sql_mysqli_addcolumn_after($fieldname, $db_conn = null)
+function sql_mysqli_syntax_addcolumn_after($fieldname, $db_conn = null)
 {
   sql_mysqli_ensure_handle($db_conn);
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits

Reply via email to