droptor_memory
column id - difference on: length
declared: array('description' => 'TODO: please describe this field!', 'type' => 'serial', 'length' => 15, 'not null' => TRUE)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'serial', 'not null' => TRUE)
column dt - difference on: length
declared: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'length' => 11, 'not null' => TRUE)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'not null' => TRUE)
column memory - difference on: length
declared: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'length' => 15, 'not null' => TRUE)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'not null' => TRUE)
column execution_time - difference on: length
declared: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'length' => 11, 'not null' => TRUE)
actual: array('description' => 'TODO: please describe this field!', 'type' => 'int', 'not null' => TRUE)
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | droptor.install.zip | 1009 bytes | wim leers |
| #4 | droptor-1150148-4.patch | 2.47 KB | wim leers |
Comments
Comment #1
jemond commentedWill take a look.
Comment #2
Starminder commentedThanks - not the end of the world, but it's nice when it matches :)
Comment #3
basicmagic.net commentedsubscribe
Comment #4
wim leersYep, confirmed. Basically, you're setting the length property where it doesn't exist: for columns of the type 'serial' and 'int'. That's all :)
Patch attached that fixes this. It also makes the .install file comply with Drupal coding guidelines (proper doxygen usage, proper indentation, etc.).
Comment #5
jemond commented@Wim - Awesome, I will take a look and update you later this week.
jpe
Comment #6
jemond commentedHey Wim,
Sorry for my delay in responding. This looks great and it's ready to add. But I'm getting an odd Git error:
"fatal: git diff header lacks filename information when removing 1 leading pathna me components (line 5)"
I think it has to do with line breaks. Did you create this on Windows, Mac, or Linux?
jpe
Comment #7
wim leersOS X. But the funny thing is that line 5 doesn't contain pathnames… You should be able to apply it with the patch command as well. (patch -p0 < patchfile)
Comment #8
jemond commentedHmm, that didn't seem to work either.
Comment #9
wim leersHere's the modified .install file, then.
Comment #10
jemond commentedHey Wim,
Thanks for this! Nice work. Committed and attributed to you.
Cheers,
jpe