[wp-trac] [WordPress Trac] #15332: dbDelta($query) - do not create view

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 13 17:12:49 UTC 2010


#15332: dbDelta($query) - do not create view
----------------------------------------------+-----------------------------
 Reporter:  christian_gnoth                   |        Owner:          
     Type:  feature request                   |       Status:  reopened
 Priority:  normal                            |    Milestone:          
Component:  Database                          |      Version:  3.0.1   
 Severity:  normal                            |   Resolution:          
 Keywords:  reporter-feedback, needs-usecase  |  
----------------------------------------------+-----------------------------
Changes (by christian_gnoth):

  * status:  closed => reopened
  * resolution:  wontfix =>


Comment:

 no need to close this ticket always !!! a simple hint would be enough.

 I use the dbdelta function at plugin activation to check if the tables and
 views of the new release are same to those of the previous release, as
 this plugin gets extend in future.

 the views are used in the plugin to retrieve data.

 i use it like the statements aboce - the sql in the $query var and then
 the function call to dbDelta($query);
 the views are not generated - no error messages.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15332#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list