Nondeterministic Functions in MySQL (i.e. rand) Can Surprise You
BRANK
Working on a test case with sysbench, I encountered this: [crayon-5c095b2cb9929769903488/] I was really surprised. First, and the most important, id is a primary key and the rand() function should …