mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Changed get_random_function_sql for ado_mssql backend to use RAND(), which is correct. Thanks, Jakub Labath
git-svn-id: http://code.djangoproject.com/svn/django/trunk@936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
b890e37ada
commit
8863e5dd11
@ -102,8 +102,7 @@ def get_limit_offset_sql(limit, offset=None):
|
||||
return sql
|
||||
|
||||
def get_random_function_sql():
|
||||
# TODO: This is a guess. Make sure this is correct.
|
||||
return "RANDOM()"
|
||||
return "RAND()"
|
||||
|
||||
def get_table_list(cursor):
|
||||
raise NotImplementedError
|
||||
|
Loading…
Reference in New Issue
Block a user