Wed Jan 12 17:12:18 2005

Ticket #541 (Closed: fixed)

running make twice in module storageServer reports error


Priority: low Reporter: fgerlits
Severity: trivial Assigned to: tomash
Component: bug Status: closed
Version:   Resolution: fixed
Milestone:   Keywords:  

Description by fgerlits:

If I run 'make' in livesupport/modules/storageServer, it complains that the table ls_pref exists already. It should drop the table and create a new (empty) table silently. ADDITIONAL INFORMATION: $ make bin/setupDirs.sh ./var/stor ./var/access ./var/trans ./var/stor/buffer # storageServer root URL: http://localhost:80/livesupportStorageServer # group running http daemon: apache mkdir ./var/stor mkdir ./var/access mkdir ./var/trans mkdir ./var/stor/buffer # Directories setup finished OK cd var/install; php -q install.php # storageServer: Install ... # Testing ... TESTS: storageServer: OK # Delete test data ... #storageServer install: OK # Install Transport submodule # Install Prefs submodule CREATE TABLE ls_pref ( id int not null, subjid int REFERENCES ls_subjs ON DELETE CASCADE, keystr varchar(255), valstr text ) [nativecode=ERROR: relation "ls_pref" already exists ] $

Attachments

Changelog

Wed Jan 12 17:12:59 2005: Modified by fgerlits

  • status changed from new to assigned
  • owner changed from anonymous to tomash

Wed Jan 12 18:57:15 2005: Modified by tomash

  • resolution set to fixed
  • status changed from assigned to closed

Thanks, it's true - fixed.

Thu Jan 13 11:43:39 2005: Modified by fgerlits

    OK.


    Add/Change #541 (running make twice in module storageServer reports error)




    Change Properties






    Action