[Cherokee-commits] [2584] cherokee/trunk:

SVN at cherokee-project.com SVN at cherokee-project.com
Wed Dec 10 11:35:41 CET 2008


Revision: 2584
          http://svn.cherokee-project.com/changeset/2584
Author:   taher
Date:     2008-12-10 11:35:41 +0100 (Wed, 10 Dec 2008)

Log Message:
-----------


Modified Paths:
--------------
    cherokee/trunk/dbslayer/mysql_wrap.php
    cherokee/trunk/doc/cookbook_drupal.txt

Modified: cherokee/trunk/dbslayer/mysql_wrap.php
===================================================================
--- cherokee/trunk/dbslayer/mysql_wrap.php	2008-12-10 09:45:38 UTC (rev 2583)
+++ cherokee/trunk/dbslayer/mysql_wrap.php	2008-12-10 10:35:41 UTC (rev 2584)
@@ -311,7 +311,7 @@
 }
 
 
-/* mysql_affected_rows — Get number of affected rows in previous MySQL operation */
+/* mysql_affected_rows - Get number of affected rows in previous MySQL operation */
 function cherokee_mysql_affected_rows ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -322,7 +322,7 @@
 }
 
 
-/* mysql_client_encoding — Returns the name of the character set */
+/* mysql_client_encoding - Returns the name of the character set */
 function cherokee_mysql_client_encoding ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -336,7 +336,7 @@
 }
 
 
-/* mysql_close — Close MySQL connection */
+/* mysql_close - Close MySQL connection */
 function cherokee_mysql_close ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -347,7 +347,7 @@
 }
 
 
-/* mysql_connect — Open a connection to a MySQL Server */
+/* mysql_connect - Open a connection to a MySQL Server */
 function cherokee_mysql_connect ($host = NULL, $user = NULL,
 	     		   	 $pass = NULL, $new_link = false, 
 			   	 $client_flags = 0)
@@ -362,7 +362,7 @@
 }
 
 
-/* mysql_create_db — Create a MySQL database */
+/* mysql_create_db - Create a MySQL database */
 function cherokee_mysql_create_db ($database_name, $link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -375,7 +375,7 @@
 }
 
 
-/* mysql_data_seek — Move internal result pointer */
+/* mysql_data_seek - Move internal result pointer */
 function cherokee_mysql_data_seek  (&$result, $row_number)
 {
 	if (!_is_result($result))
@@ -389,7 +389,7 @@
 }
 
 
-/* mysql_db_query — Send a MySQL query (and select a database). Deprecated */
+/* mysql_db_query - Send a MySQL query (and select a database). Deprecated */
 function cherokee_mysql_db_query ($database, $query, $link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -401,7 +401,7 @@
 }
 
 
-/* mysql_db_name — Get result data */
+/* mysql_db_name - Get result data */
 /* Deprecated alias: mysql_dbname */
 function cherokee_mysql_db_name ($result, $row, $field = NULL)
 {
@@ -418,7 +418,7 @@
 }
 
 
-/* mysql_drop_db — Drop (delete) a MySQL database */
+/* mysql_drop_db - Drop (delete) a MySQL database */
 /* Deprecated alias: mysql_dropdb */
 function cherokee_mysql_drop_db ($database_name, $link = NULL)
 {
@@ -432,7 +432,7 @@
 }
 
 
-/* mysql_errno — Returns the numerical value of the error message from previous MySQL operation */
+/* mysql_errno - Returns the numerical value of the error message from previous MySQL operation */
 function cherokee_mysql_errno ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -443,7 +443,7 @@
 }	
 
 
-/* mysql_error — Returns the text of the error message from previous MySQL operation */
+/* mysql_error - Returns the text of the error message from previous MySQL operation */
 function cherokee_mysql_error ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -454,7 +454,7 @@
 }
 
 
-/* mysql_fetch_array — Fetch a result row as an associative array, a numeric array, or both */
+/* mysql_fetch_array - Fetch a result row as an associative array, a numeric array, or both */
 function cherokee_mysql_fetch_array  (&$result, $result_type = MYSQL_BOTH)
 {
 	if (!_is_result($result))
@@ -493,14 +493,14 @@
 }
 
 
-/* mysql_fetch_assoc — Fetch a result row as an associative array */
+/* mysql_fetch_assoc - Fetch a result row as an associative array */
 function cherokee_mysql_fetch_assoc (&$result)
 {
 	return cherokee_mysql_fetch_array(&$result, MYSQL_ASSOC);
 }
 
 
-/* PARTIAL: mysql_fetch_field — Get column information from a result and return as an object */
+/* PARTIAL: mysql_fetch_field - Get column information from a result and return as an object */
 function cherokee_mysql_fetch_field (&$result, $field_offset = -1)
 {
 	if (!_is_result($result)) {
@@ -563,7 +563,7 @@
 }
 
 
-/* mysql_fetch_lengths — Get the length of each output in a result */
+/* mysql_fetch_lengths - Get the length of each output in a result */
 function cherokee_mysql_fetch_lengths ($result)
 {
 	if (!_is_result($result))
@@ -584,7 +584,7 @@
 }
 
 
-/* mysql_fetch_object — Fetch a result row as an object */
+/* mysql_fetch_object - Fetch a result row as an object */
 function cherokee_mysql_fetch_object (&$result, $class_name = 'stdClass', $params = NULL)
 {
 	if (!_is_result($result)) {
@@ -605,14 +605,14 @@
 }
 
 
-/* mysql_fetch_row — Get a result row as an enumerated array */
+/* mysql_fetch_row - Get a result row as an enumerated array */
 function cherokee_mysql_fetch_row (&$result)
 {
 	return cherokee_mysql_fetch_array(&$result, MYSQL_NUM);
 }
 
 
-/* PARTIAL: mysql_field_flags — Get the flags associated with the specified field in a result */
+/* PARTIAL: mysql_field_flags - Get the flags associated with the specified field in a result */
 /* Deprecated alias: mysql_fieldflags */
 function cherokee_mysql_field_flags ($result, $field_offset)
 {
@@ -632,11 +632,11 @@
 }
 
 
-/* UNIMPLEMENTED: mysql_field_len — Returns the length of the specified field */
+/* UNIMPLEMENTED: mysql_field_len - Returns the length of the specified field */
 function cherokee_mysql_field_len ($result, $field_offset) {}
 
 
-/* mysql_field_name — Get the name of the specified field in a result */
+/* mysql_field_name - Get the name of the specified field in a result */
 /* Deprecated alias: mysql_fieldname */
 function cherokee_mysql_field_name ($result, $field_offset) {
 	if (!_is_result($result)) {
@@ -654,7 +654,7 @@
 }
 
 
-/* mysql_field_seek — Set result pointer to a specified field offset */
+/* mysql_field_seek - Set result pointer to a specified field offset */
 function cherokee_mysql_field_seek (&$result, $field_offset)
 {
 	if (!_is_result($result)) {
@@ -674,11 +674,11 @@
 }
 
 
-/* UNIMPLEMENTED: mysql_field_table — Get name of the table the specified field is in */
+/* UNIMPLEMENTED: mysql_field_table - Get name of the table the specified field is in */
 function cherokee_mysql_field_table ($result, $field_offset) {}
 
 
-/* mysql_field_type — Get the type of the specified field in a result */
+/* mysql_field_type - Get the type of the specified field in a result */
 function cherokee_mysql_field_type ($result, $field_offset) 
 {
 	if (!_is_result($result)) {
@@ -697,7 +697,7 @@
 }
 
 
-/* mysql_free_result — Free result memory */
+/* mysql_free_result - Free result memory */
 function cherokee_mysql_free_result (&$result)
 {
 	if (!_is_result($result))
@@ -706,7 +706,7 @@
 }
 
 
-/* mysql_get_client_info — Get MySQL client info */
+/* mysql_get_client_info - Get MySQL client info */
 function cherokee_mysql_get_client_info ()
 {
 	$info = _mysql_get_client_info();
@@ -714,7 +714,7 @@
 }
 
 
-/* mysql_get_host_info — Get MySQL host info */
+/* mysql_get_host_info - Get MySQL host info */
 function cherokee_mysql_get_host_info ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -726,7 +726,7 @@
 }
 
 
-/* mysql_get_proto_info — Get MySQL protocol info */
+/* mysql_get_proto_info - Get MySQL protocol info */
 function cherokee_mysql_get_proto_info ($link = NULL)
 {
 	if (_dbslayer($link))
@@ -735,7 +735,7 @@
 }
 
 
-/* mysql_get_server_info — Get MySQL server info */
+/* mysql_get_server_info - Get MySQL server info */
 function cherokee_mysql_get_server_info ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -746,7 +746,7 @@
 }
 
 
-/* UNIMPLEMENTED: mysql_info — Get information about the most recent query */
+/* UNIMPLEMENTED: mysql_info - Get information about the most recent query */
 function cherokee_mysql_info ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -755,7 +755,7 @@
 }
 
 
-/* mysql_insert_id — Get the ID generated from the previous INSERT operation */
+/* mysql_insert_id - Get the ID generated from the previous INSERT operation */
 function cherokee_mysql_insert_id ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -768,7 +768,7 @@
 }
 
 
-/* mysql_list_dbs — List databases available on a MySQL server */
+/* mysql_list_dbs - List databases available on a MySQL server */
 /* Deprecated alias: mysql_listdbs */
 function cherokee_mysql_list_dbs ($link = NULL)
 {
@@ -785,7 +785,7 @@
 }
 
 
-/* mysql_list_fields — List MySQL table fields */
+/* mysql_list_fields - List MySQL table fields */
 /* Deprecated alias: mysql_listfields */
 function cherokee_mysql_list_fields ($database, $table_name, $link = NULL)
 {
@@ -804,7 +804,7 @@
 }
 
 
-/* mysql_list_processes — List MySQL processes */
+/* mysql_list_processes - List MySQL processes */
 function cherokee_mysql_list_processes ($link = NULL) {
 	if (!_dbslayer($link)) {
 	   return _call('_mysql_list_fields', $database_name, $table_name, $link);
@@ -823,7 +823,7 @@
 }
 
 
-/* mysql_list_tables — List tables in a MySQL database */
+/* mysql_list_tables - List tables in a MySQL database */
 function cherokee_mysql_list_tables  ($database, $link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -839,7 +839,7 @@
 }
 
 
-/* mysql_num_fields — Get number of fields in result */
+/* mysql_num_fields - Get number of fields in result */
 function cherokee_mysql_num_fields ($result)
 {
 	if (!_is_result($result))
@@ -852,7 +852,7 @@
 }
 
 
-/* mysql_num_rows — Get number of rows in result */
+/* mysql_num_rows - Get number of rows in result */
 function cherokee_mysql_num_rows ($result)
 {
 	if (!_is_result($result))
@@ -863,7 +863,7 @@
 }
 
 
-/* mysql_ping — Ping a server connection  */
+/* mysql_ping - Ping a server connection  */
 function cherokee_mysql_ping ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -878,7 +878,7 @@
 }
 
 
-/* mysql_pconnect — Open a persistent connection to a MySQL server */
+/* mysql_pconnect - Open a persistent connection to a MySQL server */
 function &cherokee_mysql_pconnect ($host = NULL, $user = NULL,
 			     $pass = NULL, $client_flags = 0)
 {
@@ -899,7 +899,7 @@
 }
 
 
-/* mysql_query — Send a MySQL query */
+/* mysql_query - Send a MySQL query */
 function cherokee_mysql_query ($query, $link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -973,7 +973,7 @@
 }
 
 
-/* mysql_real_escape_string — Escapes characters for use in a SQL statement */
+/* mysql_real_escape_string - Escapes characters for use in a SQL statement */
 /* Prepend backslashes to the : \x00, \n, \r, \, ', " and \x1a.             */
 function cherokee_mysql_real_escape_string ($unescaped_string, $link = NULL)
 {
@@ -984,7 +984,7 @@
 }
 
 
-/* mysql_result — Get result data. Fields can be numbers or
+/* mysql_result - Get result data. Fields can be numbers or
  * names. table.name notation not yet supported 
  */
 function cherokee_mysql_result (&$result, $row, $field = 0)
@@ -1012,7 +1012,7 @@
 }
 
 
-/* mysql_select_db — Select a MySQL database */
+/* mysql_select_db - Select a MySQL database */
 function cherokee_mysql_select_db ($database_name, $link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -1027,7 +1027,7 @@
 }
 
 
-/* mysql_set_charset — Sets the client character set */
+/* mysql_set_charset - Sets the client character set */
 function cherokee_mysql_set_charset ($charset , $link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -1050,7 +1050,7 @@
 }
 
 
-/* mysql_stat — Get current system status */
+/* mysql_stat - Get current system status */
 function cherokee_mysql_stat ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -1081,7 +1081,7 @@
 }
 
 
-/* mysql_tablename — Get table name of field */
+/* mysql_tablename - Get table name of field */
 function cherokee_mysql_tablename ($result, $i)
 {
 	if (!_dbslayer($link)) {
@@ -1101,7 +1101,7 @@
 }
 
 
-/* UNIMPLEMENTED: mysql_thread_id — Return the current thread ID */
+/* UNIMPLEMENTED: mysql_thread_id - Return the current thread ID */
 function cherokee_mysql_thread_id ($link = NULL)
 {
 	if (!_dbslayer($link)) {
@@ -1112,7 +1112,7 @@
 }
 
 
-/* mysql_unbuffered_query — Send an SQL query to MySQL, without fetching and buffering the result rows */
+/* mysql_unbuffered_query - Send an SQL query to MySQL, without fetching and buffering the result rows */
 function cherokee_mysql_unbuffered_query ($query, $link = NULL)
 {
 	if (!_dbslayer($link)) {

Modified: cherokee/trunk/doc/cookbook_drupal.txt
===================================================================
--- cherokee/trunk/doc/cookbook_drupal.txt	2008-12-10 09:45:38 UTC (rev 2583)
+++ cherokee/trunk/doc/cookbook_drupal.txt	2008-12-10 10:35:41 UTC (rev 2584)
@@ -40,14 +40,14 @@
 We'll begin by cloning the default virtual server, just to keep the
 default PHP configuration. Create a clone named `example.net`.
 
-image::media/images/cookbook_drupal_defualt1.png[Drupal default]
+image::media/images/cookbook_drupal_default1.png[Drupal default]
 
 Then, we'll delete every erasable rule in the default virtual server
 since we are going to use it to redirect every petition not matched by
 the example.net virtual server. We will set the remaining one to be
 managed by the `Redirection` handler, like this:
 
-image::media/images/cookbook_drupal_defualt2.png[Drupal default]
+image::media/images/cookbook_drupal_default2.png[Drupal default]
 
 
 [grid="rows"]
@@ -60,7 +60,7 @@
 After that, this is how the list of rules for this server should look
 like.
 
-image::media/images/cookbook_drupal_defualt3.png[Drupal default]
+image::media/images/cookbook_drupal_default3.png[Drupal default]
 
 This clears the first milestone. The remaining three will be
 accomplished by tweaking the `example.net` virtual server.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.octality.com/pipermail/cherokee-commits/attachments/20081210/b33973f8/attachment-0001.htm 


More information about the Cherokee-commits mailing list