#At file:///Users/shulga/projects/mysql/mysql-5.5/ based on revid:john.embretsen@stripped
3323 Dmitry Shulga 2011-02-09 [merge]
Automerge from mysql-5.1 for follow-up bug#57450.
modified:
client/readline.cc
=== modified file 'client/readline.cc'
--- a/client/readline.cc 2011-02-09 06:50:11 +0000
+++ b/client/readline.cc 2011-02-09 11:16:33 +0000
@@ -33,10 +33,12 @@ LINE_BUFFER *batch_readline_init(ulong m
LINE_BUFFER *line_buff;
MY_STAT input_file_stat;
+#ifndef __WIN__
if (my_fstat(fileno(file), &input_file_stat, MYF(MY_WME)) ||
MY_S_ISDIR(input_file_stat.st_mode) ||
MY_S_ISBLK(input_file_stat.st_mode))
return 0;
+#endif
if (!(line_buff=(LINE_BUFFER*)
my_malloc(sizeof(*line_buff),MYF(MY_WME | MY_ZEROFILL))))
Attachment: [text/bzr-bundle] bzr/dmitry.shulga@oracle.com-20110209111633-l1umznsnj5wqr0es.bundle
| Thread |
|---|
| • bzr commit into mysql-5.5 branch (Dmitry.Shulga:3323) Bug#57450 | Dmitry Shulga | 9 Feb |