summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-06-29 15:04:27 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2021-06-29 15:04:27 +0300
commit617dee34886987c53b14e09a9ee73abe923a18e4 (patch)
treecd06f3e9c6dace89412485c761ed6dda6a58e772 /.gitignore
parent3d15e3c0859a3ac73b968c3376e09f991ecb1adf (diff)
downloadmariadb-git-617dee34886987c53b14e09a9ee73abe923a18e4.tar.gz
MDEV-26042 Atomic write capability is not detected correctly
my_init_atomic_write(): Detect all forms of SSD, in case multiple types of devices are installed in the same machine. This was broken in commit ed008a74cf4cfe8619595ec71a6073a9e94f984c and further in commit 70684afef2ce6d797f78db192c4472260cd22660. SAME_DEV(): Match block devices, ignoring partition numbers. Let us use stat() instead of lstat(), in case someone has a symbolic link in /dev. Instead of reporting errors with perror(), let us use fprintf(stderr) with the file name, the impact of the error, and the strerror(errno). Because this code is specific to Linux, we may depend on the GNU libc/uClibc/musl extension %m for strerror(errno).
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions