summaryrefslogtreecommitdiff
path: root/win
diff options
context:
space:
mode:
authorGuilhem Bichot <guilhem@mysql.com>2008-11-21 15:21:50 +0100
committerGuilhem Bichot <guilhem@mysql.com>2008-11-21 15:21:50 +0100
commit33b194c36ec28528fd349dd17412848de2f1171c (patch)
tree68cba4897925b9395dd0bfe53b5b95a777d78637 /win
parent8d96bcda72df224f7a656cbcc1535a027bada75f (diff)
parent1d521f6c20881997c9162bd11cadcbc77d20520b (diff)
downloadmariadb-git-33b194c36ec28528fd349dd17412848de2f1171c.tar.gz
Merge of 5.1-main into 5.1-maria. There were no changes to storage/myisam, or mysql-test/t/*myisam*.
However there were three new tests mysql-test/suite/parts/t/partition*myisam.test, of which I make here copies for Maria.
Diffstat (limited to 'win')
-rwxr-xr-xwin/create_manifest.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/win/create_manifest.js b/win/create_manifest.js
index dec8f6e62e2..dbdd83588c5 100755
--- a/win/create_manifest.js
+++ b/win/create_manifest.js
@@ -31,7 +31,17 @@ try
var end= supp_version.indexOf("-");
if (end == -1) end= supp_version.length;
var app_version= supp_version.substring(0, end);
- app_version+= ".0";
+ var fourth_element= 0;
+ if(app_version.match(/[a-z]$/)) {
+ fourth_element+= (1 + app_version.charCodeAt(end-1) - "a".charCodeAt(0));
+ app_version= app_version.substring(0,--end);
+ }
+ if(app_version.match(/sp[1-9]$/)) {
+ fourth_element+= 100*(app_version.charCodeAt(end-1) - "0".charCodeAt(0));
+ app_version= app_version.substring(0, end-3);
+ end-= 3;
+ }
+ app_version+= "." + fourth_element;
break;
case "arch":
var app_arch= parts[1];