summaryrefslogtreecommitdiff
path: root/bdb
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2006-11-27 18:29:50 +0100
committerunknown <kent@mysql.com/kent-amd64.(none)>2006-11-27 18:29:50 +0100
commit8d6f67f3269917f0353c94e387a04e629445f0ce (patch)
tree6e69443c2ba64be6a55243ae050033ea5a4669c1 /bdb
parent6de6b97eeed6db587d1c856178262d7ead396a9b (diff)
downloadmariadb-git-8d6f67f3269917f0353c94e387a04e629445f0ce.tar.gz
gen_rec.awk:
Fix undefined behaviour. Many files: Reenabled build outside ource tree bdb/dist/gen_rec.awk: Fix undefined behaviour. acinclude.m4: Reenabled build outside ource tree configure.in: Reenabled build outside ource tree libmysql_r/Makefile.am: Reenabled build outside ource tree libmysqld/Makefile.am: Reenabled build outside ource tree ndb/config/common.mk.am: Reenabled build outside ource tree ndb/config/type_kernel.mk.am: Reenabled build outside ource tree ndb/config/type_ndbapi.mk.am: Reenabled build outside ource tree ndb/config/type_ndbapitest.mk.am: Reenabled build outside ource tree ndb/config/type_ndbapitools.mk.am: Reenabled build outside ource tree ndb/config/type_util.mk.am: Reenabled build outside ource tree ndb/src/kernel/Makefile.am: Reenabled build outside ource tree
Diffstat (limited to 'bdb')
-rw-r--r--bdb/dist/gen_rec.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/bdb/dist/gen_rec.awk b/bdb/dist/gen_rec.awk
index 75f2e86ca9e..e1b75699027 100644
--- a/bdb/dist/gen_rec.awk
+++ b/bdb/dist/gen_rec.awk
@@ -180,7 +180,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
}