Hello,
On 5/24/11 12:52 PM, IƱaki Baz Castillo wrote:
Hi, by inspecting the code it seems there is no
problem if "grp" field
in table "address" becomes "mediumint" rather than
"smallint" (as
now).
In my case I use diferent intervals within "grp" value to determine
the nature of the source IP of a request (requests from clients, from
trusted nodes, from PSTN gateways...) so I need to change it to
"mediumint" (and works well).
Could it be changed in the database schema so no manual change would
be required?
I think we should standardize on having 'int' everywhere, these variants
of smaller ints are not that portable across databases.
In this case I am not sure what the structure inside the modules stores,
but the database driver modules convert such ints to standard int.
Cheers,
Daniel