[dev] get database type from database source object

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9288 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] drop yet anoter useless intermediate function

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9289 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] no need to alias datastructure in current namespace

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9290 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] new any function, shamelessly imported from List::MoreUtils

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9291 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] add name accessor

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9292 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] get database name from datasource object

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9293 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] better variable names

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9294 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] check negative condition earlier

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9295 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] use any() function for better readability

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9296 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] better variable names

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9297 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] act first, check second

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9298 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] pass local datasource object to various check functions

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9299 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] pass target structure to check function, and drop corresponding global variable

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9300 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] get database name from datasource object

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9301 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] better variable names

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9302 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] better variable names

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9303 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] don't forget to load Sympa::Tools::Data

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9304 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] no need to compute sql type to use for all supported databases, only for the one used

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9305 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] update tests

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9306 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
[dev] test probe_db() function too

git-svn-id: https://subversion.renater.fr/sympa/branches/sympa-cleanup@9313 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce