summaryrefslogtreecommitdiffstats
path: root/support/scripts
diff options
context:
space:
mode:
authorelij <elij.mx@gmail.com>2011-04-07 04:23:42 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-04-12 11:56:32 +0200
commit2e444a79d55bce6cb3a908b50c115f2419913b53 (patch)
tree4fcfe4a3658806f110d3ee156be36d88415d58e3 /support/scripts
parenteaffdc27f813a48911088994358640a069b30b7e (diff)
downloadaur-2e444a79d55bce6cb3a908b50c115f2419913b53.tar.gz
aur-2e444a79d55bce6cb3a908b50c115f2419913b53.tar.xz
remove mysql dependency from gendummydata
- remove need to use mysql for escaping the sql -- removing single quote should be enough - instead of using sql to fetch categories from a live database, simply consider categories an integer range, specified to the size of that in the aur-schema. Lukas: Add "CATEGORIES_COUNT" initialization. Fix random number range used in genCategory() (AUTO_INCREMENT columns are 1-based by default, not 0-based). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'support/scripts')
0 files changed, 0 insertions, 0 deletions