summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/handler.cc2
-rw-r--r--win/create_def_file.js5
2 files changed, 6 insertions, 1 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 93db0b09abf..10c2b65bbc0 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -2068,7 +2068,7 @@ uint get_sql_xid(XID *xid, char *buf)
MY_INT64_NUM_DECIMAL_DIGITS, -10, xid->formatID);
}
- return buf - orig_buf;
+ return (uint)(buf - orig_buf);
}
diff --git a/win/create_def_file.js b/win/create_def_file.js
index 25bbbb4eb3d..9a178510ca8 100644
--- a/win/create_def_file.js
+++ b/win/create_def_file.js
@@ -257,4 +257,9 @@ function addToResponseFile(filename, responseFile)
responseFile.WriteLine("\""+fso.GetFile(filename).Path+"\"");
}
}
+ else
+ {
+ echo("file " + filename + " not found. Can't generate symbols file");
+ WScript.Quit (1);
+ }
}