phpBB

Code Changes

File: phpbb/db/tools/mssql.php

  Unmodified   Added   Modified   Removed
Line 30Line 30
	 *
* @return array
*/

	 *
* @return array
*/

	public static function get_dbms_type_map()

	static public function get_dbms_type_map()

	{
return array(
'mssql' => array(

	{
return array(
'mssql' => array(

Line 182Line 182

if (isset($prepared_column['auto_increment']) && $prepared_column['auto_increment'] && strlen($column_name) > 26) // "${column_name}_gen"
{


if (isset($prepared_column['auto_increment']) && $prepared_column['auto_increment'] && strlen($column_name) > 26) // "${column_name}_gen"
{

				trigger_error("Index name '${column_name}_gen' on table '$table_name' is too long. The maximum auto increment column length is 26 characters.", E_USER_ERROR);

				trigger_error("Index name '{$column_name}_gen' on table '$table_name' is too long. The maximum auto increment column length is 26 characters.", E_USER_ERROR);

			}

// here we add the definition of the new column to the list of columns

			}

// here we add the definition of the new column to the list of columns