diff options
author | elij <elij.mx@gmail.com> | 2011-04-06 19:23:42 -0700 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-04-12 11:56:32 +0200 |
commit | 2e444a79d55bce6cb3a908b50c115f2419913b53 (patch) | |
tree | 4fcfe4a3658806f110d3ee156be36d88415d58e3 /web/html | |
parent | eaffdc27f813a48911088994358640a069b30b7e (diff) | |
download | aurweb-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 'web/html')
0 files changed, 0 insertions, 0 deletions