Skip to content

Commit

Permalink
Fix typo in DB version strings (there should be no .sql suffix)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Feb 19, 2013
1 parent 2187b2b commit 9e46fb5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion SQL/mssql.initial.sql
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,6 @@ CREATE TRIGGER [contact_delete_member] ON [dbo].[contacts]
WHERE [contact_id] IN (SELECT [contact_id] FROM deleted)
GO

INSERT INTO [dbo].[system] ([name], [value]) VALUES ('roundcube-version', '2013011700.sql')
INSERT INTO [dbo].[system] ([name], [value]) VALUES ('roundcube-version', '2013011700')
GO

2 changes: 1 addition & 1 deletion SQL/mysql.initial.sql
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,4 @@ CREATE TABLE `system` (

/*!40014 SET FOREIGN_KEY_CHECKS=1 */;

INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700.sql');
INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700');
2 changes: 1 addition & 1 deletion SQL/postgres.initial.sql
Original file line number Diff line number Diff line change
Expand Up @@ -274,4 +274,4 @@ CREATE TABLE "system" (
value text
);

INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700.sql');
INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700');
2 changes: 1 addition & 1 deletion SQL/sqlite.initial.sql
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,4 @@ CREATE TABLE system (
value text NOT NULL
);

INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700.sql');
INSERT INTO system (name, value) VALUES ('roundcube-version', '2013011700');
2 changes: 1 addition & 1 deletion bin/updatedb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if (in_array('system', (array)$DB->list_tables())) {
$opts['package'] . '-version');

$row = $DB->fetch_array();
$version = $row[0];
$version = preg_replace('/[^0-9]/', '', $row[0]);
}

// DB version not found, but release version is specified
Expand Down

0 comments on commit 9e46fb5

Please sign in to comment.