summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorunknown <knielsen@mysql.com>2005-12-14 13:24:26 +0100
committerunknown <knielsen@mysql.com>2005-12-14 13:24:26 +0100
commit952af0ac9b7a8b4e883cb27ff64631e2314cf6e6 (patch)
treeeda58a8d60dd2fbf45c4be62f386d429d8193b3e /storage
parent4b76283e3134ba3cd4893a2c4c54d292cd527f10 (diff)
parentce52a6b28b884d8e50ba23f59b35e290f05d2508 (diff)
downloadmariadb-git-952af0ac9b7a8b4e883cb27ff64631e2314cf6e6.tar.gz
Merge mysql.com:/usr/local/mysql/mysql-mawk
into mysql.com:/usr/local/mysql/mysql-5.1-new storage/bdb/dist/gen_rec.awk: Auto merged
Diffstat (limited to 'storage')
-rw-r--r--storage/bdb/dist/gen_rec.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/bdb/dist/gen_rec.awk b/storage/bdb/dist/gen_rec.awk
index b73a2bbf873..bfb972fbac7 100644
--- a/storage/bdb/dist/gen_rec.awk
+++ b/storage/bdb/dist/gen_rec.awk
@@ -181,7 +181,7 @@ BEGIN {
t = types[i];
if (modes[i] == "POINTER") {
ndx = index(t, "*");
- t = substr(types[i], 0, ndx - 2);
+ t = substr(types[i], 1, ndx - 2);
}
printf("\t%s\t%s;\n", t, vars[i]) >> HFILE
}