Commit ad73b5ac authored by unknown's avatar unknown

Merge bk-internal:/home/bk/mysql-4.1/

into serg.mylan:/usr/home/serg/Abk/mysql-4.1

parents 4db4cb66 9dc59e9a
...@@ -2754,7 +2754,14 @@ String *Item_func_uuid::val_str(String *str) ...@@ -2754,7 +2754,14 @@ String *Item_func_uuid::val_str(String *str)
tv++; tv++;
} }
else else
nanoseq=0; {
if (nanoseq)
{
tv-=nanoseq;
nanoseq=0;
}
DBUG_ASSERT(tv > uuid_time);
}
uuid_time=tv; uuid_time=tv;
pthread_mutex_unlock(&LOCK_uuid_generator); pthread_mutex_unlock(&LOCK_uuid_generator);
......
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