~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.cc

  • Committer: Vijay Samuel
  • Date: 2010-09-10 21:03:37 UTC
  • mto: (1757.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1758.
  • Revision ID: vijay@vijay-20100910210337-rf7c2ymawtqj6tkv
Merge added utf 8 tamil test case suite and test case for creating a database in tamil.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
 
17
17
 
126
126
                           const TableIdentifier &identifier,
127
127
                           message::Table &table_message);
128
128
 
 
129
  /* Temp only engine, so do not return values. */
 
130
  void doGetTableNames(CachedDirectory &, const SchemaIdentifier &, set<string>&) { };
 
131
 
129
132
  uint32_t max_supported_keys()          const { return MI_MAX_KEY; }
130
133
  uint32_t max_supported_key_length()    const { return MI_MAX_KEY_LENGTH; }
131
134
  uint32_t max_supported_key_part_length() const { return MI_MAX_KEY_LENGTH; }
565
568
}
566
569
 
567
570
/* Name is here without an extension */
568
 
int ha_myisam::doOpen(const drizzled::TableIdentifier &identifier, int mode, uint32_t test_if_locked)
 
571
int ha_myisam::open(const char *name, int mode, uint32_t test_if_locked)
569
572
{
570
573
  MI_KEYDEF *keyinfo;
571
574
  MI_COLUMNDEF *recinfo= 0;
587
590
    open of a table that is in use by other threads already (if the
588
591
    MyISAM share exists already).
589
592
  */
590
 
  if (!(file= mi_open(identifier, mode, test_if_locked)))
 
593
  if (!(file=mi_open(name, mode, test_if_locked)))
591
594
    return (errno ? errno : -1);
592
595
 
593
596
  if (!table->getShare()->getType()) /* No need to perform a check for tmp table */