Skip to content
  • eliott's avatar
    remove mysql dependency from gendummydata · 2e444a79
    eliott authored and Lukas Fleischer's avatar Lukas Fleischer committed
    
    
    - 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: default avatarLukas Fleischer <archlinux@cryptocrack.de>
    2e444a79