Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Apr 2009 at 20:06 UTC
Updated:
15 Jul 2010 at 16:59 UTC
MySQL table names can be up to 64 characters, and Postgres up to 63. The base_table column in views_view is only 32 characters. The upshot is that, while one can define base tables with longer names, and default views based on those base tables, attempting to create a table based on such a table fails - when saving the view, you get an error that the table does not exist. The attached patch enlarges the column to accomodate longer table names.
| Comment | File | Size | Author |
|---|---|---|---|
| views.install.patch | 1.15 KB | mikeryan |
Comments
Comment #1
merlinofchaos commentedCommitted. Thanks!
Comment #3
overaph commentedIf I install module schema (i don't know if really is this module)
in my views I see "updated to 64 in views_schema_6005" comment
then I have not to apply the patch in #1, right ?
thank you very much
Comment #4
merlinofchaos commentedYes the patch in #1 was applied to Views a year ago.