Commit b38d88b2 authored by unknown's avatar unknown

ndb_version.h.in : Fix a syntax error (variable declaration came too late).


storage/ndb/include/ndb_version.h.in:
  C syntax requires variable declarations to be before executable statements.
parent 4f5658cb
......@@ -103,11 +103,12 @@ inline
int
ndb_check_prep_copy_frag_version(Uint32 version)
{
const Uint32 major = (version >> 16) & 0xFF;
const Uint32 minor = (version >> 8) & 0xFF;
if (version == NDB_VERSION_D)
return 2;
const Uint32 major = (version >> 16) & 0xFF;
const Uint32 minor = (version >> 8) & 0xFF;
if (major >= 6)
{
if (minor == 2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment