Windows compile error in ma_loghandler.c
Bug #550974 reported by
Georg Richter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
compilation of ma_loghandler.c fails in line 1398, since fd was declared after macro call LINT_INIT_STRUCT()
Suggested fix:
=== modified file 'storage/
--- storage/
+++ storage/
@@ -1394,8 +1394,9 @@
{
LOGHANDLER
+ File fd;
LINT_
- File fd= open_logfile_
+ fd= open_logfile_
if ((fd < 0) ||
{
Changed in maria: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi!
29 марта 2010, в 18:51, Georg Richter написал(а):
> Public bug reported: maria/ma_ loghandler. c' maria/ma_ loghandler. c 2010-03-10 10:32:14 +0000 maria/ma_ loghandler. c 2010-03-29 14:45:27 +0000 FILE_INFO info; STRUCT( info); by_number_ no_cache( file); by_number_ no_cache( file); read_file_ header( &info, fd) | my_close(fd,
>
> compilation of ma_loghandler.c fails in line 1398, since fd was
> declared after macro call LINT_INIT_STRUCT()
>
> Suggested fix:
> === modified file 'storage/
> --- storage/
> +++ storage/
> @@ -1394,8 +1394,9 @@
>
> {
> LOGHANDLER_
> + File fd;
> LINT_INIT_
> - File fd= open_logfile_
> + fd= open_logfile_
> if ((fd < 0) ||
> (translog_
> MYF(MY_WME))))
> {
>
Thank you a lot, but I'd better move LINT_INIT_ STRUCT( info); lower...