~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/math/rand.cc

  • Committer: Monty Taylor
  • Date: 2009-12-21 04:32:56 UTC
  • mto: (1253.2.3 out-of-tree)
  • mto: This revision was merged to the branch mainline in revision 1250.
  • Revision ID: mordred@inaugust.com-20091221043256-n7ii7ynwsebr1r47
Removed things from server_includes.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
#include <drizzled/server_includes.h>
21
 
#include CSTDINT_H
22
21
#include <drizzled/function/math/rand.h>
23
22
#include <drizzled/session.h>
24
23
 
 
24
static uint32_t sql_rnd()
 
25
{
 
26
  return (uint32_t) (rand() * 0xffffffff); /* make all bits random */
 
27
}
 
28
 
 
29
 
25
30
void Item_func_rand::seed_random(Item *arg)
26
31
{
27
32
  /*