To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Ticket #373 (closed defect: worksforme)

Opened 21 months ago

Last modified 13 months ago

errno 139

Reported by: till Owned by: tboutell
Priority: minor Milestone:
Component: asandbox Version: trunk
Keywords: Cc: till, johnnyoffline, boutell,
Symfony version: 1.4

Description

Running:

./symfony doctrine:build --all

Error:

 SQLSTATE[HY000]: General error: 1005 Can't create table './db/a_page.frm' (errno: 139). Failing Query: "CREATE TABLE a_page (id INT AUTO_INCREMENT, slug TEXT, template VARCHAR(100), view_is_secure TINYINT(1), archived TINYINT(1), admin TINYINT(1) DEFAULT '0', author_id INT, deleter_id INT, engine VARCHAR(255), created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, lft INT, rgt INT, level SMALLINT, INDEX slugindex_idx (slug(1000)), INDEX engineindex_idx (engine), INDEX author_id_idx (author_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE = INNODB". Failing Query: CREATE TABLE a_page (id INT AUTO_INCREMENT, slug TEXT, template VARCHAR(100), view_is_secure TINYINT(1), archived TINYINT(1), admin TINYINT(1) DEFAULT '0', author_id INT, deleter_id INT, engine VARCHAR(255), created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, lft INT, rgt INT, level SMALLINT, INDEX slugindex_idx (slug(1000)), INDEX engineindex_idx (engine), INDEX author_id_idx (author_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE = INNODB

MySQL: mysql-server-4.1.22

... looks like errno 139 is a byte character limit, but I don't see where I hit that.

Change History

Changed 21 months ago by johnnyoffline

  • owner changed from johnnyoffline to boutell
  • status changed from new to assigned

Is this a 1.3 vs trunk issue?

Changed 21 months ago by boutell

We increased the length of the slug field to accommodate long URLs, and of course URLs must be quick to access, thus INDEX slugindex_idx (slug(1000)) and a later ALTER to make it unique as well. MySQL 5 has no trouble with this. Possibly it's a MySQL 4 limitation. till, can you try this with MySQL 5 or better?

Changed 21 months ago by johnnyoffline

  • cc till, johnnyoffline, boutell, added

Changed 17 months ago by rickybanister

  • priority changed from major to minor

Tom, is this an ongoing issue? Can you update this ticket with any new information? Otherwise you can close it.

Changed 17 months ago by tboutell

  • owner changed from boutell to tboutell

Changed 13 months ago by johnnyoffline

  • status changed from assigned to closed
  • resolution set to worksforme

Closing this ticket because we have not been able to reproduce is using MySQL 5

Note: See TracTickets for help on using tickets.