Jump to content

Database tables structures


tamplan

Recommended Posts

Since version 2.3.x of IPB, the ibf_posts and the ibf_topics don't have the same type for the icon_id field.

Let's imagine this situation, a member can use 127 (tinyint(2)) icons message in a post but much more in a topic (smallint(3)).

We can use API to write topic with a incorrect icon message number we can not change later editing the first post of the topic.

Not really a bug but using the same type for the icon_id field should be better not?

Link to comment
Share on other sites

[quote name='tamplan' date='19 August 2009 - 05:43 AM' timestamp='1250674984' post='1846165']
Since version 2.3.x of IPB, the ibf_posts and the ibf_topics don't have the same type for the icon_id field.

Let's imagine this situation, a member can use 127 (tinyint(2)) icons message in a post but much more in a topic (smallint(3)).

We can use API to write topic with a incorrect icon message number we can not change later editing the first post of the topic.

Not really a bug but using the same type for the icon_id field should be better not?


In practice it shouldn't matter. Any performance differences between the field types are negligible, and the only way you can run into issues is if you are directly inserting/modifying data in those fields outside of the standard IPB interface, so there shouldn't be any associated bugs.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...