MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Vladislav Vaintroub Date:February 22 2010 11:57am
Subject:bzr commit into mysql-6.0-codebase branch (vvaintroub:3767) Bug#51384
View as plain text  
#At file:///H:/bzr/mysql-6.0-codebase-cmake/ based on revid:vvaintroub@stripped

 3767 Vladislav Vaintroub	2010-02-22
      Bug #51384 : innodb-file-per-table does not work in embedded
      Reason: embedded server passes full paths to the tables to 
      ha_innobase::create().
      
      ha_innobase::create() contains checks for fullpath/file-per-table
      combinations on Windows, wrongly decides we want to create a 
      symbolic link, returns generic error.
      
      Fix: allow full paths for embedded in ha_innobase::create() 
      as already in place in next-mr based repositories.
     @ storage/innobase/handler/ha_innodb.cc
        Bug #51384 : innodb-file-per-table does not work in embedded
        Reason: embedded server passes full paths to the tables to ha_innobase::create()
        ha_innobase::create contains checks for full paths /file-per-table combinations
        ,wrongly decides we want to create a symbolic link, returns error.
        Fix:  allow full paths for embedded in ha_innobase::create() as already done in 
        next-mr-based repos.

    modified:
      storage/innobase/handler/ha_innodb.cc
=== modified file 'storage/innobase/handler/ha_innodb.cc'
--- a/storage/innobase/handler/ha_innodb.cc	2010-02-06 16:22:27 +0000
+++ b/storage/innobase/handler/ha_innodb.cc	2010-02-22 11:50:47 +0000
@@ -5296,6 +5296,7 @@ ha_innobase::create(
 	table. Currently InnoDB does not support symbolic link on Windows. */
 
 	if (srv_file_per_table
+	    && !mysqld_embedded
 	    && (!create_info->options & HA_LEX_CREATE_TMP_TABLE)) {
 
 		if ((name[1] == ':')


Attachment: [text/bzr-bundle] bzr/vvaintroub@mysql.com-20100222115047-7jdiqku5rlwshlrl.bundle
Thread
bzr commit into mysql-6.0-codebase branch (vvaintroub:3767) Bug#51384Vladislav Vaintroub22 Feb