Jump to content
UBot Underground

mySQL insert rows are less than should be


Recommended Posts

VINsRowUPload  goes from 0->300

 

#QuantityVINsUpload is 300 records (rows %vinScraped)  

 

%vinScraped list is a list of 300 rows

 

the code works fine, in debugger i see it go through where VINSRowUpload incrmenets .. data is inserted into mysql table, but only 64 of them .. i read on some other posts here about appending  .. it is hard to debug this anty ideas

 

 

 

loop while($comparison(#VINsRowUpload"<"#QuantityVINsUpload)) {
    plugin command("DatabaseCommands.dll""connect to database""server=xxxx;uid=xxxx; pwd=xxx1; database=xxx; port=3306; pooling=false") {
        plugin command("DatabaseCommands.dll""query""INSERT INTO xxxxxxx(every) VALUE('{$list item(%vinScraped#VINsRowUpload)}');")
    }
    increment(#VINsRowUpload)
}

Edited by cd1168
Link to post
Share on other sites

cd1168,

 

Be sure when you add to your list %vinScraped that you go to  "ADVANCED" on the command that adds to the list and make sure that "DELETE DUPLICATES" is set to "DON'T DELETE" (It is "DELETE" by default).

It occurs to me that %vinScraped may only have 64 entries.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...