BUG: A small bug in mysql2300.sql (svn version).

You need to change line:

UNIQUE KEY `timestamp` (`timestamp`)

by:

UNIQUE KEY `datetime` (`datetime`)

or by

UNIQUE KEY `timestamp` (`datetime`)

in mysql2300.sql file

Column: timestamp do not exist any more and need to be replaced by datetime

> Diff made with kdesvn:
> -------------------------------------------------------------------------
> Index: mysql2300.sql
> ===================================================================
> --- mysql2300.sql (révision 12)
> +++ mysql2300.sql (copie de travail)
> @@ -19,5 +19,5 @@
> `rel_pressure` decimal(5,1) NOT NULL default '0.0',
> `tendency` varchar(7) NOT NULL default '',
> `forecast` varchar(6) NOT NULL default '',
> - UNIQUE KEY `timestamp` (`timestamp`)
> + UNIQUE KEY `datetime` (`datetime`)
> ) TYPE=MyISAM;
> -------------------------------------------------------------------------

Smilar to bug : Bug Report 2007x 06x 03x 114621 which is classified as closed.

Test case

Drop weather table in mysql database: drop tables weather; run mysql2300.sql under mysql and check that weather table is created.

Environment

Open2300 version: svn
Shared libraries: mysql
Server OS: Mandriva 2008

-- KiwiHC16 - 03 Sep 2008

Follow up

Fix record

BugReportForm edit

TopicTitle A small bug in mysql2300.sql (svn version).
BugStatus New
AssignedBugTo
SubmittedBy KiwiHC16
Topic attachments
I Attachment Action Size Date Who Comment
mysql2300.sqlsql mysql2300.sql manage 0.9 K 03 Sep 2008 - 22:31 KiwiHC16 File with proposed correction
Topic revision: r1 - 03 Sep 2008 - 22:33:43 - KiwiHC16
 
Open2300 - Bug Report 2008x 09x 03x 220037
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback