8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 03:23:03 +01:00

Fixed yet another porting bug. Thanks to Eugene Kilin.

This commit is contained in:
dimitr 2004-01-26 12:55:53 +00:00
parent 1ea5d776b7
commit c57e959d4f

View File

@ -1373,12 +1373,13 @@ static bool formatsAreEqual(fmt* old_format, fmt* new_format)
return false;
}
fmt::fmt_desc_const_iterator old_desc = old_format->fmt_desc.begin();
const fmt::fmt_desc_const_iterator old_end = old_format->fmt_desc.end();
fmt::fmt_desc_const_iterator old_desc = old_format->fmt_desc.begin();
const fmt::fmt_desc_const_iterator old_end = old_format->fmt_desc.end();
fmt::fmt_desc_const_iterator new_desc = old_format->fmt_desc.begin();
fmt::fmt_desc_const_iterator new_desc = new_format->fmt_desc.begin();
while (old_desc != old_end) {
while (old_desc != old_end)
{
if ((old_desc->dsc_dtype != new_desc->dsc_dtype)
|| (old_desc->dsc_scale != new_desc->dsc_scale)
|| (old_desc->dsc_length != new_desc->dsc_length)